From ba3ed24635b795aa237b4c8ebdc717c4dc84648f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Mon, 19 Aug 2019 11:27:19 +0200 Subject: [PATCH] tests: virpcimock: remove unused variable 'devid' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit virpcimock.c:685:26: error: unused variable 'devid' [-Werror,-Wunused-variable] VIR_AUTOFREE(char *) devid = NULL; ^ Fixes: 76b42294380d40282ed29560e4ae4a7491b9df05 Signed-off-by: Ján Tomko --- 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; -- GitLab