mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08: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>
|
||||
Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
|
@ -23,7 +23,9 @@
|
||||
unsigned long int
|
||||
__getauxval (unsigned long int type)
|
||||
{
|
||||
#ifdef HAVE_AUX_VECTOR
|
||||
ElfW(auxv_t) *p;
|
||||
#endif
|
||||
|
||||
if (type == AT_HWCAP)
|
||||
return GLRO(dl_hwcap);
|
||||
|
Loading…
Reference in New Issue
Block a user