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
This commit is contained in:
Carsten Haitzler 2017-07-29 09:44:54 +09:00
parent c0764e153e
commit 53629e2fd2
1 changed files with 1 additions and 1 deletions

View File

@ -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;