diff --git a/ChangeLog b/ChangeLog index 11f54f0b49..eb7902398a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Tue Feb 17 11:25:22 +0100 2009 Jim Meyering + + 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 don't fail daemon-conf test when configured --without-qemu diff --git a/src/bridge.c b/src/bridge.c index fc1142966f..668dcf04bd 100644 --- a/src/bridge.c +++ b/src/bridge.c @@ -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