jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=65644d074e1f7b87bece5860014df6d782e5aafd

commit 65644d074e1f7b87bece5860014df6d782e5aafd
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu Jun 29 13:42:35 2017 +0900

    elm_code: Fix a compilation warning
    
    warning: expression result unused; should this cast be to 'void'?
    [-Wunused-value]
---
 src/lib/elementary/elm_code_widget_selection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_code_widget_selection.c 
b/src/lib/elementary/elm_code_widget_selection.c
index 441bf9b3fe..5c5c1b7dbc 100644
--- a/src/lib/elementary/elm_code_widget_selection.c
+++ b/src/lib/elementary/elm_code_widget_selection.c
@@ -100,7 +100,7 @@ elm_code_widget_selection_select_all(Evas_Object *widget)
    elm_code_widget_selection_start(widget, 1, 1);
    int maxrow = elm_code_file_lines_get(pd->code->file);
    last_line = elm_code_file_line_get(pd->code->file, 
elm_code_file_lines_get(pd->code->file));
-   (void*) elm_code_line_text_get(last_line, &last_length);
+   elm_code_line_text_get(last_line, &last_length);
    last_col = elm_code_widget_line_text_column_width_to_position(widget, 
last_line, last_length);
 
    elm_code_widget_selection_end(widget, maxrow, last_col);

-- 


Reply via email to