mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Adjust definition of SMARTLIST_FOREACH_END() to enforce matching variable.
svn:r16597
This commit is contained in:
parent
369e3bc656
commit
0711408c22
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user