Ecore: Ecore_X: Init 'property' to a default value (removes compiler
authorChristopher Michael <cpmichael1@comcast.net>
Mon, 23 May 2011 07:51:44 +0000 (07:51 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Mon, 23 May 2011 07:51:44 +0000 (07:51 +0000)
warning).

SVN revision: 59611

legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c

index 87b47366e74a47e378984b458e81d401db356f53..fe8d1b69e005c548426359161d16330864c291c1 100644 (file)
@@ -1364,7 +1364,7 @@ _ecore_x_event_handle_selection_request(XEvent *xevent)
         si = _ecore_x_selection_get(xevent->xselectionrequest.selection);
         if (si->data)
           {
-             Ecore_X_Atom property;
+             Ecore_X_Atom property = None;
              Ecore_X_Atom type;
 
              /* Set up defaults for strings first */