about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-10-15 09:52:26 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-15 09:52:26 -0400
commitab6737ffd037c56f2ded8d93ee07e6170ae0932b (patch)
tree489e8e660c59c87992319aa456f2148e64ed522e /libio
parent538faaa7f2cc76335a06c2d53c5902dfb7e58174 (diff)
downloadglibc-ab6737ffd037c56f2ded8d93ee07e6170ae0932b.tar.gz
glibc-ab6737ffd037c56f2ded8d93ee07e6170ae0932b.tar.xz
glibc-ab6737ffd037c56f2ded8d93ee07e6170ae0932b.zip
Avoid warning in iofwide
Diffstat (limited to 'libio')
-rw-r--r--libio/iofwide.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libio/iofwide.c b/libio/iofwide.c
index a9936687dd..a6ca50f95b 100644
--- a/libio/iofwide.c
+++ b/libio/iofwide.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2003, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2003, 2005, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -471,7 +471,6 @@ do_length (struct _IO_codecvt *codecvt, __mbstate_t *statep,
   const unsigned char *cp = (const unsigned char *) from_start;
   wchar_t to_buf[max];
   struct __gconv_step *gs = codecvt->__cd_in.__cd.__steps;
-  int status;
   size_t dummy;
 
   codecvt->__cd_in.__cd.__data[0].__outbuf = (unsigned char *) to_buf;
@@ -484,10 +483,10 @@ do_length (struct _IO_codecvt *codecvt, __mbstate_t *statep,
     PTR_DEMANGLE (fct);
 #endif
 
-  status = DL_CALL_FCT (fct,
-			(gs, codecvt->__cd_in.__cd.__data, &cp,
-			 (const unsigned char *) from_end, NULL,
-			 &dummy, 0, 0));
+  DL_CALL_FCT (fct,
+	       (gs, codecvt->__cd_in.__cd.__data, &cp,
+		(const unsigned char *) from_end, NULL,
+		&dummy, 0, 0));
 
   result = cp - (const unsigned char *) from_start;
 #else