This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix ambiguous 'else' [-Wparentheses]


Hi,

GCC trubnk fails to build glibc since revision r234949 which enhanced
-Wparentheses (to address
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70436).  This simple
patch fixes the ambiguity.  Tested with an x86_84 build configured
with  --disable-werror and no warning emitted.

Thanks,
Yvan

2016-04-15  Yvan Roux  <yvan.roux@linaro.org>

        * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
        * nis/nis_call.c (nis_server_cache_add): Likewise.

Attachment: glibc-fix-ambiguous-else.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]