diff options
-rw-r--r-- | tests/functional/gl_basic_test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/gl_basic_test.c b/tests/functional/gl_basic_test.c index 508dcf7..0491fc3 100644 --- a/tests/functional/gl_basic_test.c +++ b/tests/functional/gl_basic_test.c @@ -402,6 +402,9 @@ gl_basic_draw__(void **state, struct gl_basic_draw_args__ args) // Assume that the native platform rejected the requested // config flavor. skip(); + // XXX: skip() is not annotated as noreturn, leading to compiler + // warning about implicit fallthrough + break; default: assert_true_with_wfl_error(ts->config); } @@ -422,6 +425,9 @@ gl_basic_draw__(void **state, struct gl_basic_draw_args__ args) // Assume that the native platform rejected the requested // context flavor. skip(); + // XXX: skip() is not annotated as noreturn, leading to compiler + // warning about implicit fallthrough + break; default: assert_true_with_wfl_error(ts->ctx); } |