diff --git a/ChangeLog b/ChangeLog index 11f54f0b4966c49ffb319079b9bef88b1cc5272e..eb7902398a8fceb4fe17ac95e58a116078905126 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 fc1142966f87296e7f6849033fce4d6e9199e3af..668dcf04bd13944a37e29a5252661cc6752d3e04 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