[libvirt] [PATCH 3/4] qemu_slirp: Drop unused variable in qemuSlirpStart()

Michal Privoznik posted 4 patches 5 years, 2 months ago
[libvirt] [PATCH 3/4] qemu_slirp: Drop unused variable in qemuSlirpStart()
Posted by Michal Privoznik 5 years, 2 months ago
The @cmdstr variable is not used really.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
 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;
-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 3/4] qemu_slirp: Drop unused variable in qemuSlirpStart()
Posted by Ján Tomko 5 years, 2 months ago
On Fri, Sep 06, 2019 at 04:25:18PM +0200, Michal Privoznik wrote:
>The @cmdstr variable is not used really.
>
>Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
>---
> src/qemu/qemu_slirp.c | 1 -
> 1 file changed, 1 deletion(-)
>

This is a trivial build breaker fix and can be pushed right away
regardless of the rest of the series.

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list