Remove dead variable in generic strcpy.

This commit is contained in:
Roland McGrath 2013-02-08 10:46:32 -08:00
parent b84660a888
commit 7f3e75f87a
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2013-02-08 Roland McGrath <roland@hack.frob.com>
* string/strcpy.c: Removed unused variable.
* Makeconfig (+sysdep-includes): Define with := rather than =.
Use an existing include/ subdir of each sysdeps dir before it.

View File

@ -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)