diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-04-01 20:42:50 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-09 10:23:37 +0200 |
commit | d064b2e4afd77c89274d93d65e579d9696a2723b (patch) | |
tree | 19230f1adec3a340da13f733525b1fda31fcd323 | |
parent | 9d067d26daade32f590142373383493338b13ea4 (diff) | |
download | afl++-d064b2e4afd77c89274d93d65e579d9696a2723b.tar.gz |
el no longer has to be used in loop
-rw-r--r-- | include/list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/list.h b/include/list.h index a0f23c85..d9cd9d34 100644 --- a/include/list.h +++ b/include/list.h @@ -107,6 +107,7 @@ static inline void list_append(list_t *list, void *el) { if (!el_box) FATAL("foreach over uninitialized list"); \ while (el_box != head) { \ \ + __attribute__((unused)) \ type *el = (type *)((el_box)->data); \ /* get next so el_box can be unlinked */ \ element_t *next = el_box->next; \ |