eolian: if the if was not taken random value would end up in exp.
authorCedric BAIL <cedric@osg.samsung.com>
Mon, 25 Aug 2014 13:25:20 +0000 (15:25 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 25 Aug 2014 13:25:58 +0000 (15:25 +0200)
src/lib/eolian/database_expr.c

index f224079..34db4f3 100644 (file)
@@ -546,7 +546,7 @@ eval_exp(const Eolian_Expression *expr, Eolian_Expression_Mask mask,
       case EOLIAN_EXPR_ENUM:
         {
            const Eolian_Type *etp;
-           const Eolian_Expression *exp;
+           const Eolian_Expression *exp = NULL;
            const Eolian_Enum_Type_Field *fl;
 
            char *fulln = NULL, *memb = NULL;