summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 11:11:21 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 11:11:21 +0900
commit7abf4715f2e1805e3238b92ef8fbe5499e940a2b (patch)
tree8ffd185ad327e1f9745977e917685cfb63c1d547
parentfe781b284c00c2befedde12d88940f3e83304471 (diff)
efl ui text - remove useless else + free
string is null so no need to free. not a bug but cleaner and analysers dont like it. found by PVS studio
-rw-r--r--src/lib/elementary/efl_ui_internal_text_interactive.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_internal_text_interactive.c b/src/lib/elementary/efl_ui_internal_text_interactive.c
index b6a99c4a0d..ee4c3c2c48 100644
--- a/src/lib/elementary/efl_ui_internal_text_interactive.c
+++ b/src/lib/elementary/efl_ui_internal_text_interactive.c
@@ -1020,7 +1020,6 @@ _key_down_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void
1020 string = compres; 1020 string = compres;
1021 free_string = EINA_TRUE; 1021 free_string = EINA_TRUE;
1022 } 1022 }
1023 else free(compres);
1024 compres = NULL; 1023 compres = NULL;
1025 } 1024 }
1026 else 1025 else