diff options
author | Thomas Voss <mail@thomasvoss.com> | 2022-12-24 04:04:30 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2022-12-24 04:04:30 +0100 |
commit | b635385784508eac26f1c5a820f70e2a71aa3958 (patch) | |
tree | fd607c6f61c945fce192658f11f89f9b63806b17 /src/gehashmap.h | |
parent | 847242d5622ecf4c242f36ba67345c8e998dca30 (diff) |
Remove useless parenthesis
Diffstat (limited to 'src/gehashmap.h')
-rw-r--r-- | src/gehashmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gehashmap.h b/src/gehashmap.h index 7c1e4b2..2fc9ffb 100644 --- a/src/gehashmap.h +++ b/src/gehashmap.h @@ -22,7 +22,7 @@ #define GEHASHMAP_FOREACH(entry, map) \ for (size_t _gehashmap_i = 0; \ _gehashmap_i < (map)->capacity; \ - (_gehashmap_i)++) \ + _gehashmap_i++) \ for ((entry) = (map)->entries[_gehashmap_i]; \ (entry) != NULL; \ (entry) = (entry)->next) @@ -36,7 +36,7 @@ #define GEHASHMAP_FOREACH_SAFE(entry, tmp, map) \ for (size_t _gehashmap_i = 0; \ _gehashmap_i < (map)->capacity; \ - (_gehashmap_i)++) \ + _gehashmap_i++) \ for ((entry) = (map)->entries[_gehashmap_i], \ (tmp) = (entry) ? (entry)->next : NULL; \ (entry) != NULL; \ |