提交 ba3ed246 编写于 作者: J Ján Tomko

tests: virpcimock: remove unused variable 'devid'

virpcimock.c:685:26: error: unused variable 'devid' [-Werror,-Wunused-variable]
    VIR_AUTOFREE(char *) devid = NULL;
                         ^

Fixes: 76b42294Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 b437b50b
...@@ -682,7 +682,6 @@ pci_driver_find_by_path(const char *path) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册