q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b57fd8eb47db56c45cab593a96aedd22bb92a1aa

commit b57fd8eb47db56c45cab593a96aedd22bb92a1aa
Author: Taehyub Kim <taehyub....@samsung.com>
Date:   Wed Apr 24 11:56:32 2019 +0200

    eo_parser: fix unreachable code
    
    Summary: fix unreachable code for kw_enum case in parse_unit function
    
    Reviewers: q66, Jaehyun_Cho, woohyun
    
    Reviewed By: q66
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D8696
---
 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 9895f0eb4a..f0b631ca4a 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -2192,8 +2192,6 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
                 break;
               case KW_at_free:
                 {
-                   if (is_enum)
-                     goto postparams;
                    CASE_LOCK(ls, free, "@free qualifier")
                    if (is_enum)
                      eo_lexer_syntax_error(ls, "enums cannot have @free");

-- 


Reply via email to