summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/container.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/container.h b/src/common/container.h
index 70a593887f..6faad3435d 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -204,6 +204,7 @@ char *smartlist_join_strings2(smartlist_t *sl, const char *join,
var = (sl)->list[var ## _sl_idx];
#define SMARTLIST_FOREACH_END(var) \
+ (void)var; \
} STMT_END
#define SMARTLIST_FOREACH(sl, type, var, cmd) \