]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix syntax-check
authorJán Tomko <jtomko@redhat.com>
Thu, 29 Jan 2015 13:39:12 +0000 (14:39 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 29 Jan 2015 13:39:12 +0000 (14:39 +0100)
My commit 08d1ae1 broke syntax-check by adding ATTRIBUTE_UNUSED
to the flags parameter.

Rename the parameter to unused_flags to bypass the check.

src/util/virnetdevmacvlan.c

index 6a8a923f468db345f520f96be44dc82ba5253d39..72e1f65527a1adc8a2072daf8b5a11db8ffe6ab1 100644 (file)
@@ -1066,7 +1066,7 @@ int virNetDevMacVLanCreateWithVPortProfile(const char *ifname ATTRIBUTE_UNUSED,
                                            char **res_ifname ATTRIBUTE_UNUSED,
                                            virNetDevVPortProfileOp vmop ATTRIBUTE_UNUSED,
                                            char *stateDir ATTRIBUTE_UNUSED,
-                                           unsigned int flags ATTRIBUTE_UNUSED)
+                                           unsigned int unused_flags ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
                          _("Cannot create macvlan devices on this platform"));