This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.14-361-gab6737f
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 15 Oct 2011 13:52:44 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.14-361-gab6737f
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ab6737ffd037c56f2ded8d93ee07e6170ae0932b (commit)
from 538faaa7f2cc76335a06c2d53c5902dfb7e58174 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ab6737ffd037c56f2ded8d93ee07e6170ae0932b
commit ab6737ffd037c56f2ded8d93ee07e6170ae0932b
Author: Ulrich Drepper <drepper@gmail.com>
Date: Sat Oct 15 09:52:26 2011 -0400
Avoid warning in iofwide
diff --git a/ChangeLog b/ChangeLog
index 1b13a1e..146aacf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2011-10-15 Ulrich Drepper <drepper@gmail.com>
+ * libio/iofwide.c (do_length): Avoid warning.
+
* ctype/ctype.h (__isctype_f): Add missing __THROW.
2011-10-14 Ulrich Drepper <drepper@gmail.com>
diff --git a/libio/iofwide.c b/libio/iofwide.c
index a993668..a6ca50f 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
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 ++
libio/iofwide.c | 11 +++++------
2 files changed, 7 insertions(+), 6 deletions(-)
hooks/post-receive
--
GNU C Library master sources