From 447021aafdf4bd0c0f70a3078d35a8f00ada4504 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 18 Dec 2014 12:33:05 -0500 Subject: tree-wide: make condition_free_list return NULL --- src/shared/condition.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/shared/condition.c') diff --git a/src/shared/condition.c b/src/shared/condition.c index dcbf9a7e86..3a3452959d 100644 --- a/src/shared/condition.c +++ b/src/shared/condition.c @@ -73,11 +73,13 @@ void condition_free(Condition *c) { free(c); } -void condition_free_list(Condition *first) { +Condition* condition_free_list(Condition *first) { Condition *c, *n; LIST_FOREACH_SAFE(conditions, c, n, first) condition_free(c); + + return NULL; } static int condition_test_kernel_command_line(Condition *c) { -- cgit v1.2.3-54-g00ecf