From b635385784508eac26f1c5a820f70e2a71aa3958 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 24 Dec 2022 04:04:30 +0100 Subject: Remove useless parenthesis --- src/gehashmap.h | 4 ++-- 1 file 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; \ -- cgit v1.2.3