nikawhite pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=b542071bb32044ccdacff1acfba96659481b8f15

commit b542071bb32044ccdacff1acfba96659481b8f15
Author: Mykyta Biliavskyi <m.biliavs...@samsung.com>
Date:   Mon Sep 14 17:45:04 2015 +0000

    Static analyze: fix "Function call argument is an uninitialized value"
    
    Summary:
    Fix clang static analyzer warning.
    @fix
    
    Reviewers: Hermet
    
    Differential Revision: https://phab.enlightenment.org/D3046
---
 src/bin/text_setting.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/text_setting.c b/src/bin/text_setting.c
index 1deeda2..e19f56f 100644
--- a/src/bin/text_setting.c
+++ b/src/bin/text_setting.c
@@ -402,12 +402,12 @@ static void
 color_slider_layout_set(Evas_Object *ctxpopup)
 {
    Eina_Array *type_array;
-   Eina_Stringshare *type;
+   Eina_Stringshare *type = NULL;
    Eina_Array_Iterator itr;
    unsigned int i;
    const char *color;
    char color_rgb_str[3][3] = {{0}};
-   int color_rgb_val[3];
+   int color_rgb_val[3] = {0};
    color_keyword *selected_color_keyword;
    selected_color_keyword = evas_object_data_get(ctxpopup, "color_keyword");
 

-- 


Reply via email to