nikawhite pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=19fdca437694e7430f620581b35c5a2d21f34c4a
commit 19fdca437694e7430f620581b35c5a2d21f34c4a Author: Mykyta Biliavskyi <m.biliavs...@samsung.com> Date: Mon Sep 14 15:36:17 2015 +0000 Static analyze: "Value stored to 'var' during its initialization is never read" Summary: Fix clang static analyzer warning. @fix Reviewers: Hermet Differential Revision: https://phab.enlightenment.org/D3045 --- src/lib/edc_editor.c | 2 -- src/lib/indent.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c index 767924d..a19c75d 100644 --- a/src/lib/edc_editor.c +++ b/src/lib/edc_editor.c @@ -578,8 +578,6 @@ edit_cursor_double_clicked_cb(void *data, Evas_Object *obj, return; } - Evas_Object *textblock = elm_entry_textblock_get(obj); - Evas_Textblock_Cursor *cursor = evas_object_textblock_cursor_get(textblock); const char *str = elm_entry_entry_get(obj); char *text = elm_entry_markup_to_utf8(str); int cur_pos = elm_entry_cursor_pos_get(obj); diff --git a/src/lib/indent.c b/src/lib/indent.c index de64bca..f0b04d8 100644 --- a/src/lib/indent.c +++ b/src/lib/indent.c @@ -250,7 +250,7 @@ indent_text_auto_format(indent_data *id EINA_UNUSED, redoundo_data *rd = evas_object_data_get(entry, "redoundo"); char *utf8_ptr = utf8; - char *utf8_lexem = utf8_ptr; + char *utf8_lexem = NULL; char *utf8_end = utf8 + utf8_size; Eina_List *code_lines = NULL; Eina_Strbuf *buf = eina_strbuf_new(); --