forked from enlightenment/enventor
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
This commit is contained in:
parent
78392731d4
commit
19fdca4376
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue