... | ... |
@@ -536,7 +536,9 @@ int cli_hashset_removekey(struct cli_hashset* hs, const uint32_t key) |
536 | 536 |
BITMAP_REMOVE(hs->bitmap, idx); |
537 | 537 |
hs->keys[idx] = 0; |
538 | 538 |
hs->count--; |
539 |
+ return 0; |
|
539 | 540 |
} |
541 |
+ return -1; |
|
540 | 542 |
} |
541 | 543 |
|
542 | 544 |
int cli_hashset_contains(const struct cli_hashset* hs, const uint32_t key) |