From bd1632e60ce668d15184c94bbbe33cd2b640d255 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 20 Dec 2016 00:21:02 +0800 Subject: [PATCH] fix an warning 'control may reach end of non-void function' --- qemu/target-arm/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/target-arm/cpu.h b/qemu/target-arm/cpu.h index 92f05e02..aa16f7d5 100644 --- a/qemu/target-arm/cpu.h +++ b/qemu/target-arm/cpu.h @@ -1285,6 +1285,7 @@ static inline bool arm_excp_unmasked(CPUState *cs, unsigned int excp_idx) return !(env->daif & PSTATE_I); default: g_assert_not_reached(); + return false; } }