aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-04-24 13:19:12 +0900
committerHermet Park <hermetpark@gmail.com>2019-04-24 13:21:05 +0900
commit79183150c7182af5b06cb2363f822cab433b4990 (patch)
tree7272c426c0683dfbbc2226354964403fbda92b1c
parentevas wbmp loader: coming previous patch with fixing wrong calc. (diff)
downloadefl-79183150c7182af5b06cb2363f822cab433b4990.tar.gz
eolian: remove unreachable code.
-rw-r--r--src/lib/eolian/database_validate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index d9ca18a755..285d19a692 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -198,8 +198,9 @@ _validate_typedecl(Validate_State *vals, Eolian_Typedecl *tp)
default:
return _reset_stable(vals, was_stable, EINA_FALSE);
}
- _reset_stable(vals, was_stable, EINA_TRUE);
- return _validate(&tp->base);
+
+ //Unexpected case?
+ return EINA_FALSE;
}
static const char * const eo_complex_frees[] =