summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 09:44:54 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 09:44:54 +0900
commit53629e2fd2eda8675a44f22d1df65db606baa035 (patch)
treed47f1b6b453c36991150d80d0164daeef5af8b5b
parentc0764e153e25f61f5261bc37bad80a92be744ca2 (diff)
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
-rw-r--r--src/bin/edje/edje_cc_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 89e09abce8..84c21b428e 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)
15816 { 15816 {
15817 current_program = sequencing; 15817 current_program = sequencing;
15818 ((Edje_Program_Parser*)sequencing)->can_override = EINA_TRUE; 15818 ((Edje_Program_Parser*)sequencing)->can_override = EINA_TRUE;
15819 current_program_lookups = eina_list_free(current_program_lookups); 15819 eina_list_free(current_program_lookups);
15820 current_program_lookups = sequencing_lookups; 15820 current_program_lookups = sequencing_lookups;
15821 sequencing_lookups = NULL; 15821 sequencing_lookups = NULL;
15822 sequencing = NULL; 15822 sequencing = NULL;