Pierrick Bouvier b3372e0ec8 ui: remove break after g_assert_not_reached()
Use of assert(false) can trip spurious control flow warnings from
some versions of GCC (i.e. using -fsanitize=thread with gcc-12):

  error: control reaches end of non-void function [-Werror=return-type]
        default:
            g_assert_not_reached();
            break;
          | ^^^^^

Solve that by removing the unreachable 'break' statement, unifying
the code base on g_assert_not_reached() instead.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240910221606.1817478-37-pierrick.bouvier@linaro.org>
[PMD: Add description suggested by Eric Blake]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2024-09-13 20:12:16 +02:00
..
2024-07-16 20:04:08 +02:00
2023-06-27 17:08:56 +02:00
2024-07-22 12:47:28 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2024-09-10 13:22:47 +02:00
2023-06-27 17:08:56 +02:00
2024-09-10 13:22:47 +02:00
2024-09-10 13:22:47 +02:00
2024-09-10 13:22:47 +02:00
2022-05-03 15:52:37 +04:00
2023-08-31 19:47:43 +02:00
2024-09-10 13:22:47 +02:00
2024-09-13 20:12:16 +02:00
2022-03-14 15:16:16 +04:00
2024-09-10 13:22:47 +02:00
2024-07-22 12:47:28 +04:00
2022-11-08 10:23:06 +01:00
2022-11-08 10:23:06 +01:00
2023-08-31 19:47:43 +02:00
2023-06-05 20:48:34 +02:00
2024-07-22 10:18:36 +04:00