summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclOO.c')
-rw-r--r--generic/tclOO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOO.c b/generic/tclOO.c
index 4915b5d..0fcf159 100644
--- a/generic/tclOO.c
+++ b/generic/tclOO.c
@@ -237,8 +237,8 @@ MODULE_SCOPE const TclOOStubs tclOOStubs;
#define RemoveItem(type, lst, i) \
do { \
Remove ## type ((lst).list, (lst).num, i); \
- (lst).num-- \
- } while 0
+ (lst).num--; \
+ } while (0)
/*
* ----------------------------------------------------------------------