]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix build on mingw
authorJán Tomko <jtomko@redhat.com>
Thu, 11 Dec 2014 10:13:43 +0000 (11:13 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 11 Dec 2014 10:13:43 +0000 (11:13 +0100)
Add missing ATTRIBUTE_UNUSED markers.

src/security/security_dac.c

index 41a585c1c224c636da8b9c132f597853d7f2c5e9..deb69803095bf78c5f543289a295d71190235a56 100644 (file)
@@ -1298,8 +1298,8 @@ virSecurityDACGetProcessLabelInternal(pid_t pid,
 }
 #else
 static int
-virSecurityDACGetProcessLabelInternal(pid_t pid,
-                                      virSecurityLabelPtr seclabel)
+virSecurityDACGetProcessLabelInternal(pid_t pid ATTRIBUTE_UNUSED,
+                                      virSecurityLabelPtr seclabel ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
                          _("Cannot get process uid and gid on this platform"));