From 65644d074e1f7b87bece5860014df6d782e5aafd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Thu, 29 Jun 2017 13:42:35 +0900 Subject: [PATCH] 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);