s/voice/void/

:-)

On Jun 1, 2012, at 5:13 PM, <svn-commit-mai...@open-mpi.org> wrote:

> Author: bosilca (George Bosilca <bosi...@eecs.utk.edu>)
> Date: 2012-06-01 17:13:35 EDT (Fri, 01 Jun 2012)
> New Revision: 26539
> URL: https://svn.open-mpi.org/trac/ompi/changeset/26539
> 
> Log:
> Fixes #3112: Fix hwloc compiler warning in v1.6
> 
> What a non-voice function is?
> 
> ---svn-pre-commit-ignore-below---
> r26524
> Ensure to actually exit the non-voice function, even in non-debug
> builds (i.e., where assert() is preprocessed away).
> 
> Properties modified: 
>   branches/v1.6/   (props changed)
> Text files modified: 
>   branches/v1.6/opal/mca/hwloc/hwloc132/hwloc/src/topology-libpci.c |     4 
> ++++                                    
>   1 files changed, 4 insertions(+), 0 deletions(-)
> 
> Modified: branches/v1.6/opal/mca/hwloc/hwloc132/hwloc/src/topology-libpci.c
> ==============================================================================
> --- branches/v1.6/opal/mca/hwloc/hwloc132/hwloc/src/topology-libpci.c Fri Jun 
>  1 17:11:30 2012        (r26538)
> +++ branches/v1.6/opal/mca/hwloc/hwloc132/hwloc/src/topology-libpci.c 
> 2012-06-01 17:13:35 EDT (Fri, 01 Jun 2012)      (r26539)
> @@ -376,7 +376,11 @@
>   if (a->attr->pcidev.func > b->attr->pcidev.func)
>     return HWLOC_PCI_BUSID_HIGHER;
> 
> +  /* Should never reach here.  Abort on both debug builds and
> +     non-debug builds */
>   assert(0);
> +  fprintf(stderr, "Bad assertion in hwloc %s:%d (aborting)\n", __FILE__, 
> __LINE__);
> +  exit(1);
> }
> 
> static void
> _______________________________________________
> svn-full mailing list
> svn-f...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/svn-full


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to