fix an warning 'control may reach end of non-void function'

This commit is contained in:
Nguyen Anh Quynh 2016-12-20 00:21:02 +08:00
parent 16bbe4fb88
commit bd1632e60c

View file

@ -1285,6 +1285,7 @@ static inline bool arm_excp_unmasked(CPUState *cs, unsigned int excp_idx)
return !(env->daif & PSTATE_I); return !(env->daif & PSTATE_I);
default: default:
g_assert_not_reached(); g_assert_not_reached();
return false;
} }
} }