mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-05 00:48:02 +02:00
Revert "util: silence out-of-bounds read warning"
(t < &start_test_function_section) is never true so this commit ended up
disabling the unit tests altogether. That may shut up -fanalyze but
is somewhat of a regression in functionality...
This reverts commit 22c94fd916.
This commit is contained in:
parent
0770fec433
commit
d593127c18
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@
|
|||
*/
|
||||
#define foreach_test(t_) \
|
||||
for (const struct test_function *t_ = &__start_test_functions_section; \
|
||||
t_ < &__stop_test_functions_section && t < &__start_test_functions_section; \
|
||||
t_ < &__stop_test_functions_section; \
|
||||
t_++)
|
||||
|
||||
typedef MunitResult (*munit_test_func_t)(const MunitParameter params[], void *user_data);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue