Fix uninitialized variable warning.
authorChris Michael <devilhorns@comcast.net>
Thu, 26 Sep 2013 19:07:01 +0000 (20:07 +0100)
committerChris Michael <devilhorns@comcast.net>
Thu, 26 Sep 2013 19:07:01 +0000 (20:07 +0100)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
src/bin/e_randr.c

index ec85b6d..faf0c96 100644 (file)
@@ -848,7 +848,7 @@ _e_randr_event_cb_output_change(void *data EINA_UNUSED, int type EINA_UNUSED, vo
 
             if (ocfg)
               {
-                 Ecore_X_Randr_Mode mode;
+                 Ecore_X_Randr_Mode mode = 0;
                  int x = 0, y = 0, orient = 0;
 
                  printf("\t\t\tHave Primary Output Config %d\n", ocfg->xid);