forked from enlightenment/efl
eolian: silence uninitialized var warning
This commit is contained in:
parent
90fe81a02a
commit
1e2f00e654
|
@ -2204,7 +2204,7 @@ _eof_trans:
|
|||
case 86:
|
||||
#line 627 "lib/eolian/eo_lexer.rl"
|
||||
{ toknz->te = ( toknz->p)+1;{
|
||||
Eina_List **l;
|
||||
Eina_List **l = NULL;
|
||||
if (!toknz->tmp.meth) ABORT(toknz, "No method!!!");
|
||||
if (eina_list_count(toknz->tmp.meth->params) == 0)
|
||||
WRN("method '%s' has no parameters.", toknz->tmp.meth->name);
|
||||
|
@ -2259,7 +2259,7 @@ _eof_trans:
|
|||
case 90:
|
||||
#line 627 "lib/eolian/eo_lexer.rl"
|
||||
{ toknz->te = ( toknz->p);( toknz->p)--;{
|
||||
Eina_List **l;
|
||||
Eina_List **l = NULL;
|
||||
if (!toknz->tmp.meth) ABORT(toknz, "No method!!!");
|
||||
if (eina_list_count(toknz->tmp.meth->params) == 0)
|
||||
WRN("method '%s' has no parameters.", toknz->tmp.meth->name);
|
||||
|
@ -3666,7 +3666,7 @@ _eof_trans:
|
|||
case 86:
|
||||
#line 627 "lib/eolian/eo_lexer.rl"
|
||||
{ toknz->te = ( toknz->p)+1;{
|
||||
Eina_List **l;
|
||||
Eina_List **l = NULL;
|
||||
if (!toknz->tmp.meth) ABORT(toknz, "No method!!!");
|
||||
if (eina_list_count(toknz->tmp.meth->params) == 0)
|
||||
WRN("method '%s' has no parameters.", toknz->tmp.meth->name);
|
||||
|
@ -3721,7 +3721,7 @@ _eof_trans:
|
|||
case 90:
|
||||
#line 627 "lib/eolian/eo_lexer.rl"
|
||||
{ toknz->te = ( toknz->p);( toknz->p)--;{
|
||||
Eina_List **l;
|
||||
Eina_List **l = NULL;
|
||||
if (!toknz->tmp.meth) ABORT(toknz, "No method!!!");
|
||||
if (eina_list_count(toknz->tmp.meth->params) == 0)
|
||||
WRN("method '%s' has no parameters.", toknz->tmp.meth->name);
|
||||
|
|
|
@ -625,7 +625,7 @@ _eo_tokenizer_implement_get(Eo_Tokenizer *toknz, char *p)
|
|||
}
|
||||
|
||||
action end_method {
|
||||
Eina_List **l;
|
||||
Eina_List **l = NULL;
|
||||
if (!toknz->tmp.meth) ABORT(toknz, "No method!!!");
|
||||
if (eina_list_count(toknz->tmp.meth->params) == 0)
|
||||
WRN("method '%s' has no parameters.", toknz->tmp.meth->name);
|
||||
|
|
Loading…
Reference in New Issue