Adjust definition of SMARTLIST_FOREACH_END() to enforce matching variable.

svn:r16597
This commit is contained in:
Nick Mathewson 2008-08-19 15:33:03 +00:00
parent 369e3bc656
commit 0711408c22

View File

@ -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) \