From 6ecc9df89b3b24a3a2352c1a22d7a81fa1cf342e Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Fri, 6 Sep 2019 14:14:21 +0200 Subject: [PATCH] qemu_slirp: Drop unused variable in qemuSlirpStart() The @cmdstr variable is not used really. Signed-off-by: Michal Privoznik --- src/qemu/qemu_slirp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qemu/qemu_slirp.c b/src/qemu/qemu_slirp.c index 24df1e1a20..716b73759d 100644 --- a/src/qemu/qemu_slirp.c +++ b/src/qemu/qemu_slirp.c @@ -298,7 +298,6 @@ qemuSlirpStart(qemuSlirpPtr slirp, { VIR_AUTOUNREF(virQEMUDriverConfigPtr) cfg = virQEMUDriverGetConfig(driver); VIR_AUTOPTR(virCommand) cmd = NULL; - VIR_AUTOFREE(char *) cmdstr = NULL; VIR_AUTOFREE(char *) pidfile = NULL; VIR_AUTOFREE(char *) dbus_path = NULL; VIR_AUTOFREE(char *) dbus_addr = NULL; -- GitLab