Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target-arm: Fix unreachable code in gicv3_class_name()
Coverity complains that the exit() in gicv3_class_name() can be unreachable, because if TARGET_AARCH64 is defined then all code paths return before reaching it. Move the exit() up to the error_report() that it belongs with. Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Shannon Zhao <[email protected]> Message-id: [email protected]
- Loading branch information