From: Carsten Haitzler (Rasterman) Date: Sat, 29 Jul 2017 00:44:54 +0000 (+0900) Subject: edje_cc - make list free simpler to make analysers happy X-Git-Tag: upstream/1.20.0~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53629e2fd2eda8675a44f22d1df65db606baa035;p=platform%2Fupstream%2Fefl.git edje_cc - make list free simpler to make analysers happy analysers like PVS studio dont know the eina_list_free returning NULL design pattern for consistency and so dislike the var being set twice in a row. this will make them happy without any skin off our backs. not a bug at all. found by PVS studio --- diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 89e09ab..84c21b4 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -15816,7 +15816,7 @@ edje_cc_handlers_pop_notify(const char *token) { current_program = sequencing; ((Edje_Program_Parser*)sequencing)->can_override = EINA_TRUE; - current_program_lookups = eina_list_free(current_program_lookups); + eina_list_free(current_program_lookups); current_program_lookups = sequencing_lookups; sequencing_lookups = NULL; sequencing = NULL;