mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
build: fix unused variable in mingw
Bug introduced in commit 100b7a72a
:
util/virnetdevbridge.c: In function 'virNetDevBridgePortSetLearning':
util/virnetdevbridge.c:359:38: error: unused parameter 'enable' [-Werror=unused-parameter]
bool enable)
^
* src/util/virnetdevbridge.c (virNetDevBridgePortSetLearning): Mark
unused variable.
Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
5adc6031fa
commit
b4861ce976
@ -356,7 +356,7 @@ virNetDevBridgePortGetLearning(const char *brname ATTRIBUTE_UNUSED,
|
||||
int
|
||||
virNetDevBridgePortSetLearning(const char *brname ATTRIBUTE_UNUSED,
|
||||
const char *ifname ATTRIBUTE_UNUSED,
|
||||
bool enable)
|
||||
bool enable ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportSystemError(ENOSYS, "%s",
|
||||
_("Unable to set bridge port learning on this platform"));
|
||||
|
Loading…
Reference in New Issue
Block a user