[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1.2-128-gafa6e0c

Service Account noreply at mpich.org
Thu Aug 28 13:28:53 CDT 2014


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 "MPICH primary repository".

The branch, master has been updated
       via  afa6e0c59ff3499809083bbff7301436c02de2fb (commit)
      from  511e9a56e7512b5e7866a7094214c04b21736a49 (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://git.mpich.org/mpich.git/commitdiff/afa6e0c59ff3499809083bbff7301436c02de2fb

commit afa6e0c59ff3499809083bbff7301436c02de2fb
Author: Antonio J. Pena <apenya at mcs.anl.gov>
Date:   Wed Aug 27 15:47:18 2014 -0500

    Fixed hwloc compile warning
    
    Marked a variable as unused, since the variable is only being used for
    an assertion. This is less intrusive than enclosing the affected code
    within #ifdefs looking for the definition of the NDEBUG marco.
    
    Signed-off-by: Pavan Balaji <balaji at anl.gov>

diff --git a/src/pm/hydra/tools/topo/hwloc/hwloc/src/topology.c b/src/pm/hydra/tools/topo/hwloc/hwloc/src/topology.c
index 09545e0..2acad02 100644
--- a/src/pm/hydra/tools/topo/hwloc/hwloc/src/topology.c
+++ b/src/pm/hydra/tools/topo/hwloc/hwloc/src/topology.c
@@ -3046,7 +3046,7 @@ hwloc__check_children(struct hwloc_obj *parent)
    */
   if (parent->complete_cpuset) {
     int firstchild;
-    int prev_firstchild = -1; /* -1 works fine with first comparisons below */
+    int prev_firstchild __hwloc_attribute_unused = -1; /* -1 works fine with first comparisons below */
     for(j=0; j<parent->arity; j++) {
       if (!parent->children[j]->complete_cpuset
 	  || hwloc_bitmap_iszero(parent->children[j]->complete_cpuset))

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

Summary of changes:
 src/pm/hydra/tools/topo/hwloc/hwloc/src/topology.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list