eolian: remove unused variables
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 12 May 2015 16:07:26 +0000 (17:07 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 12 May 2015 16:07:26 +0000 (17:07 +0100)
src/lib/eolian/eo_parser.c
src/tests/eolian/eolian_parsing.c

index e256c7e..a646526 100644 (file)
@@ -668,7 +668,6 @@ parse_type_void(Eo_Lexer *ls)
 {
    Eolian_Type *def;
    const char *ctype;
-   const char *sname = NULL;
    Eina_Strbuf *buf;
    int line = ls->line_number, col = ls->column;
    switch (ls->t.kw)
index 182272b..c94248d 100644 (file)
@@ -677,7 +677,7 @@ END_TEST
 START_TEST(eolian_struct)
 {
    const Eolian_Struct_Type_Field *field = NULL;
-   const Eolian_Type *atype = NULL, *type = NULL, *ftype = NULL;
+   const Eolian_Type *type = NULL, *ftype = NULL;
    const Eolian_Class *class;
    const char *type_name;
    const char *file;