Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] sometimes unused params
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2010-01-08 12:30:51

Jeff Squyres, le Fri 08 Jan 2010 12:22:59 -0500, a écrit :
> On Jan 8, 2010, at 12:22 PM, Samuel Thibault wrote:
> >> How do you guys want to handle params that are *sometimes* unused?
> >
> > I'd just mark them unused.
> Is it harmful to mark them unused when they're actually used?


     This attribute, attached to a function, means that the function is
     meant to be possibly unused. GCC will not produce a warning for
     this function.