summary refs log tree commit diff
path: root/debug/stpncpy_chk.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-12-05 09:58:58 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-12-05 09:58:58 +0530
commit232983e9a74e817377a5e76f2c3872c8a92685d0 (patch)
tree6eebf2f1cf5e8f7a4d5aa72beb6e5924ba39e3db /debug/stpncpy_chk.c
parent54285cf9e5bbd10826beba4cc1feb039395867b0 (diff)
downloadglibc-232983e9a74e817377a5e76f2c3872c8a92685d0.tar.gz
glibc-232983e9a74e817377a5e76f2c3872c8a92685d0.tar.xz
glibc-232983e9a74e817377a5e76f2c3872c8a92685d0.zip
Remove unused variables in __stpncpy_chk
Diffstat (limited to 'debug/stpncpy_chk.c')
-rw-r--r--debug/stpncpy_chk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/debug/stpncpy_chk.c b/debug/stpncpy_chk.c
index f9fa66ccaf..0bc6ae2b11 100644
--- a/debug/stpncpy_chk.c
+++ b/debug/stpncpy_chk.c
@@ -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 ();