tests: virpcimock: remove unused variable 'devid'

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@redhat.com>
This commit is contained in:
Ján Tomko 2019-08-19 11:27:19 +02:00
parent b437b50bbc
commit ba3ed24635

View File

@ -682,7 +682,6 @@ pci_driver_find_by_path(const char *path)
static struct pciDriver * static struct pciDriver *
pci_driver_find_by_driver_override(struct pciDevice *dev) pci_driver_find_by_driver_override(struct pciDevice *dev)
{ {
VIR_AUTOFREE(char *) devid = NULL;
VIR_AUTOFREE(char *) path = NULL; VIR_AUTOFREE(char *) path = NULL;
char tmp[32]; char tmp[32];
size_t i; size_t i;