eolian: Removed warning of unused var from eo_parser
authorPawel Aksiutowicz <p.aksiutowic@partner.samsung.com>
Tue, 21 Nov 2017 02:12:27 +0000 (11:12 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Nov 2017 02:12:27 +0000 (11:12 +0900)
Reviewers: stanluk, lukasz.stanislawski

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5502

src/lib/eolian/eo_parser.c

index a231e72..aa25b2b 100644 (file)
@@ -2155,7 +2155,6 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
         goto found_class;
       case KW_import:
         {
-           Eina_Bool is_eo = EINA_FALSE;
            Eina_Strbuf *buf = push_strbuf(ls);
            const char *found = NULL;
            char errbuf[PATH_MAX];
@@ -2174,7 +2173,6 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
                               "unknown import '%s'", ls->t.value.s);
                      eo_lexer_syntax_error(ls, errbuf);
                   }
-                else is_eo = EINA_TRUE;
              }
            eina_hash_set(_defereos, eina_strbuf_string_get(buf), found);
            pop_strbuf(ls);