mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Remove dead variable in generic strcpy.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user