Initialize 'orients' variable to rotation 0.
authorChris Michael <devilhorns@comcast.net>
Sun, 19 May 2013 07:00:09 +0000 (08:00 +0100)
committerChris Michael <devilhorns@comcast.net>
Sun, 19 May 2013 11:44:26 +0000 (12:44 +0100)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
src/modules/conf_randr/e_smart_monitor.c

index bc22b3d6176792117a1a53587507d6ce9f9b06c5..0cdb20d9aeeb736b5d01bc36392de5a8f33f9e11 100644 (file)
@@ -216,7 +216,7 @@ void
 e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc, Evas_Coord cx, Evas_Coord cy, Evas_Coord cw, Evas_Coord ch)
 {
    E_Smart_Data *sd;
-   Ecore_X_Randr_Orientation orients;
+   Ecore_X_Randr_Orientation orients = ECORE_X_RANDR_ORIENTATION_ROT_0;
    Ecore_X_Window root = 0;
 
    LOGFN(__FILE__, __LINE__, __FUNCTION__);