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

Commit

Permalink
Don't return a value from a void function
Browse files Browse the repository at this point in the history
  • Loading branch information
erayd committed May 21, 2015
1 parent e7c835a commit bd49471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libec/misc/skiplist.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ int ec_sl_set(ec_sl_t *l, void *key, void *data, ec_sl_freefn_t freefn) {
*/
void ec_sl_remove(ec_sl_t *l, void *key, ec_sl_freefn_t freefn) {
if(!key)
return NULL;
return;
ec_sl_cursor_t c;
ec_sl_cursor(l, &c, key);
ec_sl_node_t *n = c[1]->next;
Expand Down

0 comments on commit bd49471

Please sign in to comment.