diff options
author | 2016-01-15 10:44:07 -0700 | |
---|---|---|
committer | 2016-01-15 10:44:07 -0700 | |
commit | ad37480c4b79b801b987f5529d036b4e25cac615 (patch) | |
tree | 28121b24f4de02b2b189bbd312cd95cc27b59646 /iconvdata | |
parent | Call math_opt_barrier inside if (diff) | |
download | glibc-ad37480c4b79b801b987f5529d036b4e25cac615.tar.gz glibc-ad37480c4b79b801b987f5529d036b4e25cac615.tar.bz2 glibc-ad37480c4b79b801b987f5529d036b4e25cac615.zip |
Fix build errors with -DNDEBUG.
[BZ #18755]
* iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
warnings.
* sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
(__gai_create_helper_thread): Same.
* nscd/nscd.c (do_exit): Suppress -Wunused-variable.
* iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
to suppress -Wmaybe-uninitialized warnings.
Diffstat (limited to 'iconvdata')
-rw-r--r-- | iconvdata/iso-2022-cn-ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/iso-2022-cn-ext.c b/iconvdata/iso-2022-cn-ext.c index 78f52d729a..df5b5df1fd 100644 --- a/iconvdata/iso-2022-cn-ext.c +++ b/iconvdata/iso-2022-cn-ext.c @@ -426,7 +426,7 @@ enum } \ else \ { \ - unsigned char buf[2]; \ + unsigned char buf[2] = { 0, 0 }; \ int used; \ \ if (set == GB2312_set || ((ann & SO_ann) != CNS11643_1_ann \ |