This is the mail archive of the 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]

GNU C Library master sources branch master updated. glibc-2.17-203-g7f3e75f

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  7f3e75f87a93265e5a9feb1ba320f4b19f29cd67 (commit)
      from  b84660a888f8c6ac5410f7571ee40b120873dc06 (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 -----------------------------------------------------------------;a=commitdiff;h=7f3e75f87a93265e5a9feb1ba320f4b19f29cd67

commit 7f3e75f87a93265e5a9feb1ba320f4b19f29cd67
Author: Roland McGrath <>
Date:   Fri Feb 8 10:46:32 2013 -0800

    Remove dead variable in generic strcpy.

diff --git a/ChangeLog b/ChangeLog
index 23f29a2..83d439b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2013-02-08  Roland McGrath  <>
+	* string/strcpy.c: Removed unused variable.
 	* Makeconfig (+sysdep-includes): Define with := rather than =.
 	Use an existing include/ subdir of each sysdeps dir before it.
diff --git a/string/strcpy.c b/string/strcpy.c
index 9b713dc..64e030d 100644
--- a/string/strcpy.c
+++ b/string/strcpy.c
@@ -30,7 +30,6 @@ strcpy (dest, src)
   char c;
   char *__unbounded s = (char *__unbounded) src;
   const ptrdiff_t off = dest - s - 1;
-  size_t n;
@@ -39,8 +38,6 @@ strcpy (dest, src)
   while (c != '\0');
-  n = s - src;
   return dest;
 libc_hidden_builtin_def (strcpy)


Summary of changes:
 ChangeLog       |    2 ++
 string/strcpy.c |    3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

GNU C Library master sources

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