From 319f497a725010fa1e548a733996c0ee585eb3fe Mon Sep 17 00:00:00 2001
From: Pawel Aksiutowicz
Date: Tue, 21 Nov 2017 11:12:27 +0900
Subject: [PATCH] eolian: Removed warning of unused var from eo_parser
Reviewers: stanluk, lukasz.stanislawski
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5502
---
src/lib/eolian/eo_parser.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index a231e722e1..aa25b2be40 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -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);