This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.24-263-g352db0b


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  352db0bd059df1ad2da5d22e6ea3fd3e4f2ce236 (commit)
      from  3f413ec8d1aaa338946215f2510369f5e3d891eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=352db0bd059df1ad2da5d22e6ea3fd3e4f2ce236

commit 352db0bd059df1ad2da5d22e6ea3fd3e4f2ce236
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Oct 10 22:45:18 2016 +0200

    hurd: Fix unused variable warning
    
    	* misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
    	unused variable 'p'.

diff --git a/ChangeLog b/ChangeLog
index 09e0485..2590895 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
diff --git a/misc/getauxval.c b/misc/getauxval.c
index 6111376..27f4be9 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);

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    5 +++++
 misc/getauxval.c |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]