From 7f3e75f87a93265e5a9feb1ba320f4b19f29cd67 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 8 Feb 2013 10:46:32 -0800 Subject: Remove dead variable in generic strcpy. --- string/strcpy.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'string') diff --git a/string/strcpy.c b/string/strcpy.c index 9b713dcaa1..64e030d8d2 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; do { @@ -39,8 +38,6 @@ strcpy (dest, src) } while (c != '\0'); - n = s - src; - return dest; } libc_hidden_builtin_def (strcpy) -- cgit 1.4.1