mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 16:21:06 +00:00
hurd: Fix unused variable warning
* misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define unused variable 'p'.
This commit is contained in:
parent
3f413ec8d1
commit
352db0bd05
@ -1,3 +1,8 @@
|
|||||||
|
2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
|
* misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
|
||||||
|
unused variable 'p'.
|
||||||
|
|
||||||
2016-10-09 Alan Modra <amodra@gmail.com>
|
2016-10-09 Alan Modra <amodra@gmail.com>
|
||||||
Andreas Schwab <schwab@linux-m68k.org>
|
Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
@ -23,7 +23,9 @@
|
|||||||
unsigned long int
|
unsigned long int
|
||||||
__getauxval (unsigned long int type)
|
__getauxval (unsigned long int type)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_AUX_VECTOR
|
||||||
ElfW(auxv_t) *p;
|
ElfW(auxv_t) *p;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (type == AT_HWCAP)
|
if (type == AT_HWCAP)
|
||||||
return GLRO(dl_hwcap);
|
return GLRO(dl_hwcap);
|
||||||
|
Loading…
Reference in New Issue
Block a user