]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove unused variables in __stpncpy_chk
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 5 Dec 2013 04:28:58 +0000 (09:58 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 5 Dec 2013 04:28:58 +0000 (09:58 +0530)
ChangeLog
debug/stpncpy_chk.c

index 793448fee90e435df15cd667623c896dd58a25f1..c34668bb6d433aa4a0ad9fabf92605775adeb87d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+       * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
+
        [BZ #15941]
        * Makefile (INSTALL): Add install-plain.texi as the primary
        dependency.
index f9fa66ccafb8582dc4a657ed58a32d22543cb2ee..0bc6ae2b11bc86aba58b8751e01efe9fbbac28bc 100644 (file)
@@ -25,9 +25,6 @@
 char *
 __stpncpy_chk (char *dest, const char *src, size_t n, size_t destlen)
 {
-  char c;
-  char *s = dest;
-
   if (__builtin_expect (destlen < n, 0))
     __chk_fail ();