Skip to content
This repository was archived by the owner on Apr 13, 2019. It is now read-only.

Commit bd49471

Browse files
committed
Don't return a value from a void function
1 parent e7c835a commit bd49471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libec/misc/skiplist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ int ec_sl_set(ec_sl_t *l, void *key, void *data, ec_sl_freefn_t freefn) {
131131
*/
132132
void ec_sl_remove(ec_sl_t *l, void *key, ec_sl_freefn_t freefn) {
133133
if(!key)
134-
return NULL;
134+
return;
135135
ec_sl_cursor_t c;
136136
ec_sl_cursor(l, &c, key);
137137
ec_sl_node_t *n = c[1]->next;

0 commit comments

Comments
 (0)