We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ecfc02d + 37e7323 commit e0f58c9Copy full SHA for e0f58c9
strmap.h
@@ -165,7 +165,7 @@ static inline int strintmap_contains(struct strintmap *map, const char *str)
165
166
static inline void strintmap_remove(struct strintmap *map, const char *str)
167
{
168
- return strmap_remove(&map->map, str, 0);
+ strmap_remove(&map->map, str, 0);
169
}
170
171
static inline int strintmap_empty(struct strintmap *map)
@@ -249,7 +249,7 @@ static inline int strset_contains(struct strset *set, const char *str)
249
250
static inline void strset_remove(struct strset *set, const char *str)
251
252
- return strmap_remove(&set->map, str, 0);
+ strmap_remove(&set->map, str, 0);
253
254
255
static inline int strset_empty(struct strset *set)
0 commit comments