discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=b79fde5de79d9431c973fcf25786fc84a06e1745

commit b79fde5de79d9431c973fcf25786fc84a06e1745
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Sep 10 22:13:57 2015 +0900

    e comp - set rects to null to silence compiler warning
    
    even though n is 0 and we don't use rects, compiler doesn't know, so
    to avoid noise - set to null so we can focus on warnings of real errors.
---
 src/bin/e_comp_x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 60bc35c..fdc5faf 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -2678,7 +2678,7 @@ static Eina_Bool
 _e_comp_x_damage(void *data EINA_UNUSED, int type EINA_UNUSED, 
Ecore_X_Event_Damage *ev)
 {
    E_Client *ec;
-   Ecore_X_Rectangle *rects;
+   Ecore_X_Rectangle *rects = NULL;
    int n = 0;
 
    ec = _e_comp_x_client_find_by_damage(ev->damage);

-- 


Reply via email to