jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9c69afd535a7e8ebe72f590cb634733fcac23da1

commit 9c69afd535a7e8ebe72f590cb634733fcac23da1
Author: Shuhrat Dehkanov <sh.dehka...@samsung.com>
Date:   Mon Jun 27 16:16:00 2016 +0900

    Fix 'maybe used uninitialized' warning
    
    Summary:
        bin/edje/edje_cc_out.c: In function ‘data_write_images’:
        bin/edje/edje_cc_out.c:1164:7: warning: ‘f’ may be used uninitialized 
in this function [-Wmaybe-uninitialized]
            if (!f) return EINA_FALSE;
               ^
        bin/edje/edje_cc_out.c:1154:15: note: ‘f’ was declared here
            Eina_File *f;
                       ^
    
    Reviewers: cedric, jpeg
    
    Reviewed By: jpeg
    
    Subscribers: seoz, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D4101
---
 src/bin/edje/edje_cc_out.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index 5c07fbb..f164361 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -1151,7 +1151,7 @@ tgv_file_check_and_add(Eet_File *ef, 
Edje_Image_Directory_Entry *img, int *image
    Image_Write *iw = NULL;
    Eina_List *li;
    const char *s;
-   Eina_File *f;
+   Eina_File *f = NULL;
    void *data;
 
    EINA_LIST_FOREACH(img_dirs, li, s)

-- 


Reply via email to