edje: make sure there is an initial value to avoid garbage out.
authorCedric Bail <cedric.bail@samsung.com>
Thu, 28 Nov 2013 07:55:24 +0000 (16:55 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Thu, 28 Nov 2013 07:55:24 +0000 (16:55 +0900)
Detected by clang static analyzer.

src/bin/edje/edje_cc_parse.c

index 3f1f658..f2ee699 100644 (file)
@@ -1347,7 +1347,7 @@ _betai(char *s, int *val)
 static char *
 _alphai(char *s, int *val)
 {
-   int a1, a2;
+   int a1 = 0, a2 = 0;
    char op;
 
    if (!val) return NULL;