summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaehyub Kim <taehyub.kim@samsung.com>2019-04-24 11:56:32 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-04-24 11:56:32 +0200
commitb57fd8eb47db56c45cab593a96aedd22bb92a1aa (patch)
tree838624ee55e44eee442955c517f874111e51b4ae
parent47f9af12824059828d088700a3b5a557ba49dfdd (diff)
downloadefl-b57fd8eb47db56c45cab593a96aedd22bb92a1aa.tar.gz
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
-rw-r--r--src/lib/eolian/eo_parser.c2
1 files changed, 0 insertions, 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");