devilhorns pushed a commit to branch master.

commit 54931cf7f6f6757cbd73f9f6db6c0c5ee9e6e86c
Author: Chris Michael <[email protected]>
Date:   Wed May 22 17:26:18 2013 +0100

    Fix several "variable may be used uninitialized" warnings.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 68597e5..8d75d70 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -2125,7 +2125,7 @@ static E_Comp_Win *
 _e_comp_win_add(E_Comp *c, Ecore_X_Window win, E_Border *bd, Eina_Bool force)
 {
    E_Comp_Win *cw;
-   int x, y, w, h, border;
+   int x = 0, y = 0, w, h, border = 0;
 
    cw = calloc(1, sizeof(E_Comp_Win));
    if (!cw) return NULL;

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to