fillStringValues is only used if WITH_QEMU || WITH_BHYVE

Signed-off-by: Cole Robinson <crobi...@redhat.com>
---
Pushed under build break rule

 tests/domaincapstest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c
index 1aa8c023a2..2cccfbc8e2 100644
--- a/tests/domaincapstest.c
+++ b/tests/domaincapstest.c
@@ -24,6 +24,7 @@
 
 #define VIR_FROM_THIS VIR_FROM_NONE
 
+#if WITH_QEMU || WITH_BHYVE
 static int ATTRIBUTE_SENTINEL
 fillStringValues(virDomainCapsStringValuesPtr values, ...)
 {
@@ -44,6 +45,7 @@ fillStringValues(virDomainCapsStringValuesPtr values, ...)
 
     return ret;
 }
+#endif /* WITH_QEMU || WITH_BHYVE */
 
 #if WITH_QEMU
 # include "testutilsqemu.h"
-- 
2.21.0

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

Reply via email to