提交 cedc1501 编写于 作者: J 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
上级 6b4b4eb2
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册