Re: [PATCH] Add missing ATTRIBUTE_UNUSED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 12, 2013 at 01:19:18PM -0600, Eric Blake wrote:
> On 08/12/2013 01:08 PM, Guido Günther wrote:
> > to fix the kFreeBSD build.
> > 
> > The network parameter is unused in networkCheckRouteCollision:
> > 
> >     http://honk.sigxcpu.org:8001/job/libvirt-build-debian-jessie-kfreebsd64/
> > ---
> >  src/network/bridge_driver_nop.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> ACK.

Pushed. Thanks.
 -- Guido

> 
> > 
> > diff --git a/src/network/bridge_driver_nop.c b/src/network/bridge_driver_nop.c
> > index f983402..23c712d 100644
> > --- a/src/network/bridge_driver_nop.c
> > +++ b/src/network/bridge_driver_nop.c
> > @@ -21,7 +21,7 @@
> >  
> >  #include <config.h>
> >  
> > -int networkCheckRouteCollision(virNetworkObjPtr network)
> > +int networkCheckRouteCollision(virNetworkObjPtr network ATTRIBUTE_UNUSED)
> >  {
> >      return 0;
> >  }
> > 
> 
> -- 
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
> 


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]