about summary refs log tree commit diff
path: root/iconvdata/iso-2022-cn.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-26 03:17:03 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-26 03:17:03 +0000
commit278bfa00b668eb79b6cfb493ae3ea985ea7a844b (patch)
treee7511b34d81cfb8eff714d86094fbb143859ddc7 /iconvdata/iso-2022-cn.c
parenta45d733cce8aebeae8d04fa1e67ca928d119dc39 (diff)
downloadglibc-278bfa00b668eb79b6cfb493ae3ea985ea7a844b.tar.gz
glibc-278bfa00b668eb79b6cfb493ae3ea985ea7a844b.tar.xz
glibc-278bfa00b668eb79b6cfb493ae3ea985ea7a844b.zip
* iconvdata/iso-2022-kr.c (BODY): Fake initialization of array buf
	to keep gcc quiet.
	* iconvdata/iso-2022-cn.c (BODY): Likewise.
Diffstat (limited to 'iconvdata/iso-2022-cn.c')
-rw-r--r--iconvdata/iso-2022-cn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iconvdata/iso-2022-cn.c b/iconvdata/iso-2022-cn.c
index 4825d72f0d..1613cf2329 100644
--- a/iconvdata/iso-2022-cn.c
+++ b/iconvdata/iso-2022-cn.c
@@ -264,6 +264,9 @@ enum
     else								      \
       {									      \
 	unsigned char buf[2];						      \
+	/* Fake initialization to keep gcc quiet.  */			      \
+	asm ("" : "=m" (buf));						      \
+									      \
 	int used;							      \
 	size_t written = 0;						      \
 									      \