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,9 +429,10 @@ list_find (struct list * head, list_match_fn match, void * data) {
struct list * item;
list_for_each (item, head) {
if (match (item, data))
if (match (item, data)) {
return item;
}
}
return NULL;
}
......
......@@ -429,9 +429,10 @@ list_find (struct list * head, list_match_fn match, void * data) {
struct list * item;
list_for_each (item, head) {
if (match (item, data))
if (match (item, data)) {
return item;
}
}
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