mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-11 16:05:56 -06:00
avoid compiler warning about unused parameter
* src/bridge.c (brProbeVnetHdr) [IFF_VNET_HDR && TUNGETFEATURES && TUNGETIFF]: Use a "(void)" case to mark the parameter as unused. Reported by Maximilian Wilhelm in http://thread.gmane.org/gmane.comp.emulators.libvirt/11918/focus=11917
This commit is contained in:
parent
6b4b4eb29c
commit
cedc15019e
@ -1,3 +1,11 @@
|
||||
Tue Feb 17 11:25:22 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
avoid compiler warning about unused parameter
|
||||
* src/bridge.c (brProbeVnetHdr)
|
||||
[IFF_VNET_HDR && TUNGETFEATURES && TUNGETIFF]: Use a "(void)" case
|
||||
to mark the parameter as unused. Reported by Maximilian Wilhelm in
|
||||
http://thread.gmane.org/gmane.comp.emulators.libvirt/11918/focus=11917
|
||||
|
||||
Tue Feb 17 11:21:00 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
don't fail daemon-conf test when configured --without-qemu
|
||||
|
@ -454,6 +454,7 @@ brProbeVnetHdr(int tapfd)
|
||||
|
||||
return 1;
|
||||
#else
|
||||
(void) tapfd;
|
||||
VIR_INFO0(_("Not enabling IFF_VNET_HDR; disabled at build time"));
|
||||
return 0;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user