diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2022-09-17 05:34:25 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2022-09-17 05:34:25 +0000 |
| commit | 8dcfa259a2a4596311b9c271043456b49275d0f8 (patch) | |
| tree | 8d4fa0f432a5e8a837bf674fa1275d3d1aec54a6 /scripts | |
| parent | input: pipe-*: set current CWD when spawning the sub-process (diff) | |
config: fix "maybe-uninitialized" error when compiling with CFLAGS=-Og
Using GCC 12.2.0 with the following build steps:
CFLAGS=-Og meson bld
ninja -C bld
...produces the compiler error:
../config.c:2000:18: error: ‘sym_equal’ may be used uninitialized
[-Werror=maybe-uninitialized]
This commit fixes that by using BUG() to assert that all possible
values are accounted for in the offending switch statement.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
