eolian: silence uninitialized var warning

This commit is contained in:
Jérémy Zurcher 2014-03-11 11:59:13 +01:00
parent 90fe81a02a
commit 1e2f00e654
2 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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);