[libvirt] [PATCH] util: Fix build issue with virStorageFileGetNPIVKey

John Ferlan posted 1 patch 5 years, 1 month ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190201170519.1854-1-jferlan@redhat.com
src/util/virstoragefile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] util: Fix build issue with virStorageFileGetNPIVKey
Posted by John Ferlan 5 years, 1 month ago
Signed-off-by: John Ferlan <jferlan@redhat.com>
---
 pushed as build breaker <sigh>...

 src/util/virstoragefile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c
index d83d84fcf5..6df0885669 100644
--- a/src/util/virstoragefile.c
+++ b/src/util/virstoragefile.c
@@ -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;
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list