mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
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:
parent
b437b50bbc
commit
ba3ed24635
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user