Commit b8190e69 authored by Lubomir Bulej's avatar Lubomir Bulej
Browse files

OCD fix in list.h

parent 22a6f9c5
Pipeline #19868 failed with stages
in 4 minutes and 46 seconds
...@@ -429,8 +429,9 @@ list_find (struct list * head, list_match_fn match, void * data) { ...@@ -429,8 +429,9 @@ list_find (struct list * head, list_match_fn match, void * data) {
struct list * item; struct list * item;
list_for_each (item, head) { list_for_each (item, head) {
if (match (item, data)) if (match (item, data)) {
return item; return item;
}
} }
return NULL; return NULL;
......
...@@ -429,8 +429,9 @@ list_find (struct list * head, list_match_fn match, void * data) { ...@@ -429,8 +429,9 @@ list_find (struct list * head, list_match_fn match, void * data) {
struct list * item; struct list * item;
list_for_each (item, head) { list_for_each (item, head) {
if (match (item, data)) if (match (item, data)) {
return item; return item;
}
} }
return NULL; return NULL;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment