elementary: Remove set but unused variable
authorChris Michael <cpmichael@osg.samsung.com>
Tue, 7 Jun 2016 17:37:53 +0000 (13:37 -0400)
committerChris Michael <cpmichael@osg.samsung.com>
Tue, 7 Jun 2016 17:37:53 +0000 (13:37 -0400)
This variable looks like it may be used in the future, but for now
just causes additional compiler warnings so comment it out for now.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
src/lib/elementary/elm_code_widget_selection.c

index 33da3aa..2bde739 100644 (file)
@@ -340,11 +340,11 @@ elm_code_widget_selection_text_get(Evas_Object *widget)
 }
 
 static void
-_selection_loss_cb(void *data, Elm_Sel_Type selection EINA_UNUSED)
+_selection_loss_cb(void *data EINA_UNUSED, Elm_Sel_Type selection EINA_UNUSED)
 {
-   Elm_Code_Widget *widget;
+   /* Elm_Code_Widget *widget; */
 
-   widget = (Elm_Code_Widget *)data;
+   /* widget = (Elm_Code_Widget *)data; */
 // TODO we need to know whih selection we are clearing!
 //   elm_code_widget_selection_clear(widget);
 }