princeamd pushed a commit to branch enlightenment-0.17.

commit 0c2bb7260b5d26388bca10cf27d53050f9c61b5d
Author: Chris Michael <[email protected]>
Date:   Fri May 31 13:29:51 2013 +0100

    Backport: a612fcf :: Initialize geometry variables (ie: The Shutup you 
stupid clang commit)
    
    Signed-off-by: Chris Michael <[email protected]>
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/bin/e_randr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c
index a24ab0a..253cbfe 100644
--- a/src/bin/e_randr.c
+++ b/src/bin/e_randr.c
@@ -400,7 +400,7 @@ _e_randr_config_restore(void)
         for (c = 0; c < ncrtcs; c++)
           {
              E_Randr_Crtc_Config *cfg;
-             Evas_Coord x, y, w, h;
+             Evas_Coord x = 0, y = 0, w = 0, h = 0;
              Ecore_X_Randr_Mode mode = 0;
              Ecore_X_Randr_Orientation orient = 
                ECORE_X_RANDR_ORIENTATION_ROT_0;

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to