mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Remove unused variables in __stpncpy_chk
This commit is contained in:
parent
54285cf9e5
commit
232983e9a7
@ -1,5 +1,7 @@
|
|||||||
2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
|
* debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
|
||||||
|
|
||||||
[BZ #15941]
|
[BZ #15941]
|
||||||
* Makefile (INSTALL): Add install-plain.texi as the primary
|
* Makefile (INSTALL): Add install-plain.texi as the primary
|
||||||
dependency.
|
dependency.
|
||||||
|
@ -25,9 +25,6 @@
|
|||||||
char *
|
char *
|
||||||
__stpncpy_chk (char *dest, const char *src, size_t n, size_t destlen)
|
__stpncpy_chk (char *dest, const char *src, size_t n, size_t destlen)
|
||||||
{
|
{
|
||||||
char c;
|
|
||||||
char *s = dest;
|
|
||||||
|
|
||||||
if (__builtin_expect (destlen < n, 0))
|
if (__builtin_expect (destlen < n, 0))
|
||||||
__chk_fail ();
|
__chk_fail ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user