virpcimock.c:685:26: error: unused variable 'devid' [-Werror,-Wunused-variable]
VIR_AUTOFREE(char *) devid = NULL;
^
Fixes: 76b42294380d40282ed29560e4ae4a7491b9df05
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
Pushed as a trivial build fix.
tests/virpcimock.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/virpcimock.c b/tests/virpcimock.c
index 09a6c648af..ca6cc060fd 100644
--- a/tests/virpcimock.c
+++ b/tests/virpcimock.c
@@ -682,7 +682,6 @@ pci_driver_find_by_path(const char *path)
static struct pciDriver *
pci_driver_find_by_driver_override(struct pciDevice *dev)
{
- VIR_AUTOFREE(char *) devid = NULL;
VIR_AUTOFREE(char *) path = NULL;
char tmp[32];
size_t i;
--
2.20.1