forked from enlightenment/efl
eolian: Removed warning of unused var from eo_parser
Reviewers: stanluk, lukasz.stanislawski Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5502
This commit is contained in:
parent
98fd820648
commit
319f497a72
|
@ -2155,7 +2155,6 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
|
||||||
goto found_class;
|
goto found_class;
|
||||||
case KW_import:
|
case KW_import:
|
||||||
{
|
{
|
||||||
Eina_Bool is_eo = EINA_FALSE;
|
|
||||||
Eina_Strbuf *buf = push_strbuf(ls);
|
Eina_Strbuf *buf = push_strbuf(ls);
|
||||||
const char *found = NULL;
|
const char *found = NULL;
|
||||||
char errbuf[PATH_MAX];
|
char errbuf[PATH_MAX];
|
||||||
|
@ -2174,7 +2173,6 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
|
||||||
"unknown import '%s'", ls->t.value.s);
|
"unknown import '%s'", ls->t.value.s);
|
||||||
eo_lexer_syntax_error(ls, errbuf);
|
eo_lexer_syntax_error(ls, errbuf);
|
||||||
}
|
}
|
||||||
else is_eo = EINA_TRUE;
|
|
||||||
}
|
}
|
||||||
eina_hash_set(_defereos, eina_strbuf_string_get(buf), found);
|
eina_hash_set(_defereos, eina_strbuf_string_get(buf), found);
|
||||||
pop_strbuf(ls);
|
pop_strbuf(ls);
|
||||||
|
|
Loading…
Reference in New Issue