summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-03-08 16:54:10 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2019-03-08 16:54:10 +0100
commit525895f3c44dd0bf876d92efcbd06d5a7b8575f4 (patch)
tree837bf81d722debcd3483970cc983e962f0afacc9
parenta4ad866bc13fa20d308e7e9ce2d8fc646fe828e3 (diff)
downloadefl-525895f3c44dd0bf876d92efcbd06d5a7b8575f4.tar.gz
eolian: remove unused variables
-rw-r--r--src/lib/eolian/eo_parser.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 716cec6497..454e634e8c 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -994,8 +994,7 @@ static void
parse_accessor(Eo_Lexer *ls, Eolian_Function *prop)
{
int line, col;
- Eina_Bool has_return = EINA_FALSE,
- has_eo = EINA_FALSE, has_keys = EINA_FALSE,
+ Eina_Bool has_return = EINA_FALSE, has_keys = EINA_FALSE,
has_values = EINA_FALSE, has_protected = EINA_FALSE,
has_virtp = EINA_FALSE;
Eina_Bool is_get = (ls->t.kw == KW_get);
@@ -1310,9 +1309,8 @@ parse_method(Eo_Lexer *ls)
Eolian_Function *meth = NULL;
Eolian_Implement *impl = NULL;
Eina_Bool has_const = EINA_FALSE, has_params = EINA_FALSE,
- has_return = EINA_FALSE,
- has_protected = EINA_FALSE, has_class = EINA_FALSE,
- has_eo = EINA_FALSE, has_beta = EINA_FALSE,
+ has_return = EINA_FALSE, has_protected = EINA_FALSE,
+ has_class = EINA_FALSE, has_beta = EINA_FALSE,
has_virtp = EINA_FALSE;
meth = calloc(1, sizeof(Eolian_Function));
meth->klass = ls->klass;