diff options
-rw-r--r-- | src/common/container.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.h b/src/common/container.h index 598e27aaa5..0a790ea4ac 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -204,7 +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; \ + var = NULL; \ } STMT_END #define SMARTLIST_FOREACH(sl, type, var, cmd) \ |