[PATCH (pushed)] qemuBuildChardevCommand: Remove unused variable

Peter Krempa posted 1 patch 2 weeks, 2 days ago
src/qemu/qemu_command.c | 1 -
1 file changed, 1 deletion(-)
[PATCH (pushed)] qemuBuildChardevCommand: Remove unused variable
Posted by Peter Krempa 2 weeks, 2 days ago
'charstr' is unused since 36d06a5637f, breaking the build on some
platforms. Remove it.

Fixes: 36d06a5637f
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
Build-breaker fix.

 src/qemu/qemu_command.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index c2d65645c4..c20d033aea 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -1300,7 +1300,6 @@ qemuBuildChardevCommand(virCommand *cmd,
                         virQEMUCaps *qemuCaps)
 {
     qemuDomainChrSourcePrivate *chrSourcePriv = QEMU_DOMAIN_CHR_SOURCE_PRIVATE(dev);
-    g_autofree char *charstr = NULL;

     switch ((virDomainChrType) dev->type) {
     case VIR_DOMAIN_CHR_TYPE_TCP:
-- 
2.46.0