The function 'brProbeVnetHdr()' added in commit b14bf853b4b0c3479d13c4842cea6faa3414c834 does not use the 'tapfd' parameter. gcc does not like that. Make it happy. Signed-off-by: Maximilian Wilhelm <max@xxxxxxxxxxx> --- src/bridge.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/bridge.c b/src/bridge.c index 990a567..960db91 100644 --- a/src/bridge.c +++ b/src/bridge.c @@ -423,7 +423,7 @@ static int brSetInterfaceMtu(brControl *ctl, * Returns 0 in case of success or an errno code in case of failure. */ static int -brProbeVnetHdr(int tapfd) +brProbeVnetHdr(int tapfd ATTRIBUTE_UNUSED) { #if defined(IFF_VNET_HDR) && defined(TUNGETFEATURES) && defined(TUNGETIFF) unsigned int features; -- 1.5.6.5 -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list