Skip to content
Snippets Groups Projects
Commit 86315444 authored by Kaspar Schleiser's avatar Kaspar Schleiser Committed by GitHub
Browse files

Merge pull request #5672 from kaspar030/fix_clist_lpeek

core: clist: clist_lpeek(): add missing return statement
parents fef429e1 7a3c63fd
No related branches found
No related tags found
No related merge requests found
...@@ -197,6 +197,7 @@ static inline clist_node_t *clist_lpeek(const clist_node_t *list) ...@@ -197,6 +197,7 @@ static inline clist_node_t *clist_lpeek(const clist_node_t *list)
if (list->next) { if (list->next) {
return list->next->next; return list->next->next;
} }
return NULL;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment