diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-10 22:45:18 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-10 22:45:18 +0200 |
commit | 352db0bd059df1ad2da5d22e6ea3fd3e4f2ce236 (patch) | |
tree | c341699b88f67351516fffca1b1e13281171e018 /misc/getauxval.c | |
parent | 3f413ec8d1aaa338946215f2510369f5e3d891eb (diff) | |
download | glibc-352db0bd059df1ad2da5d22e6ea3fd3e4f2ce236.tar.gz glibc-352db0bd059df1ad2da5d22e6ea3fd3e4f2ce236.tar.xz glibc-352db0bd059df1ad2da5d22e6ea3fd3e4f2ce236.zip |
hurd: Fix unused variable warning
* misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define unused variable 'p'.
Diffstat (limited to 'misc/getauxval.c')
-rw-r--r-- | misc/getauxval.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/getauxval.c b/misc/getauxval.c index 61113766da..27f4be9d8b 100644 --- a/misc/getauxval.c +++ b/misc/getauxval.c @@ -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); |