summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/endian.h
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-09-09 16:18:03 +0900
committerWaldemar Brodkorb <wbx@openadk.org>2020-09-13 15:32:46 +0200
commitb1ed80b54e19345f8846d250098128aea49c1b67 (patch)
treef05afa0554feaba6a29a838fe1b351cb31aeb0f0 /libc/sysdeps/linux/common/bits/endian.h
parent6f9e85a6219ba4516261159a25c1d42eacb66662 (diff)
utils/getconf: Fix compilation error
In the main() function, all cases of the "switch (specs[i].num)" switch-case are all conditionally defined. Depending on the target environementi, none of them may endup being defined, resulting in the code block before the no-op default case to generate a "warning: statement will never be executed" compilation error. Avoid this by conditionally defining this code block with the macro DO_GETCONF_NAME which is itself defined if any of the switc cases is defined too. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits/endian.h')
0 files changed, 0 insertions, 0 deletions