]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Fix build issue with virStorageFileGetNPIVKey
authorJohn Ferlan <jferlan@redhat.com>
Fri, 1 Feb 2019 16:32:56 +0000 (11:32 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 1 Feb 2019 17:04:43 +0000 (12:04 -0500)
Signed-off-by: John Ferlan <jferlan@redhat.com>
src/util/virstoragefile.c

index d83d84fcf5e47399aa29e59cd58a52172898ec5f..6df0885669a50c3a20f3eb32fd6c6bfe12483d09 100644 (file)
@@ -1564,7 +1564,7 @@ virStorageFileGetNPIVKey(const char *path,
     return ret;
 }
 #else
-int virStorageFileGetNPIVKey(const char *path,
+int virStorageFileGetNPIVKey(const char *path ATTRIBUTE_UNUSED,
                              char **key ATTRIBUTE_UNUSED)
 {
     return -1;