mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
hurd: Fix unused variable warning
* misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define unused variable 'p'.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user