aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c
index dad4093e6..48f1e1c62 100644
--- a/src/list.c
+++ b/src/list.c
@@ -212,7 +212,7 @@ ListNode * findNodeInList(List * list, char * key) {
tmpNode = tmpNode->nextNode;
}
- if(tmpNode!=NULL) return tmpNode;
+ return tmpNode;
}
return NULL;