Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
semihosting/user.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/semihosting/user.c b/semihosting/user.c
index 515de3d2c0..98c144cb45 100644
--- a/semihosting/user.c
+++ b/semihosting/user.c
@@ -11,6 +11,7 @@
bool semihosting_enabled(bool is_user)
{
+ assert(is_user);
return true;
}
--
2.43.0