diff options
author | Marcus Haehnel <marcus.haehnel@kernkonzept.com> | 2023-11-26 00:05:19 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2023-11-27 08:48:52 +0100 |
commit | 20d7d58f1aa3cd230252b6391ff5db7e84d0efa3 (patch) | |
tree | 9d41a88af7110ee201d5586f5469d0566aad5695 /libc/string | |
parent | d2c58318e70eaac636e83e718e389603dde85eac (diff) |
getaddrinfo.c: Avoid misleading indentation warning
When compiling getaddrinfo.c with clang the -Wmisleading-indentation
option will cause a warning due to the indentation lining up with the
previous statement in the if block above.
For gcc the warning is blinded by the commented line. See also:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107162
Move the comment behind the function call to make both compilers happy.
Diffstat (limited to 'libc/string')
0 files changed, 0 insertions, 0 deletions