[PATCH 09/14] ch: Remove unused variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Unused variables in ch_process.c cause compilation errors so remove them.

Signed-off-by: Rayhan Faizel <rayhan.faizel@xxxxxxxxx>
---
 src/ch/ch_process.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/ch/ch_process.c b/src/ch/ch_process.c
index 9816509e49..12da020c7b 100644
--- a/src/ch/ch_process.c
+++ b/src/ch/ch_process.c
@@ -656,7 +656,6 @@ chProcessAddNetworkDevices(virCHDriver *driver,
     for (i = 0; i < vmdef->nnets; i++) {
         g_autofree int *tapfds = NULL;
         g_autofree char *payload = NULL;
-        g_autofree char *response = NULL;
         size_t tapfd_len;
         size_t payload_len;
         int saved_errno;
@@ -967,7 +966,6 @@ virCHProcessStartRestore(virCHDriver *driver, virDomainObj *vm, const char *from
     g_auto(virBuffer) buf = VIR_BUFFER_INITIALIZER;
     g_auto(virBuffer) http_headers = VIR_BUFFER_INITIALIZER;
     g_autofree char *payload = NULL;
-    g_autofree char *response = NULL;
     VIR_AUTOCLOSE mon_sockfd = -1;
     g_autofree int *tapfds = NULL;
     g_autofree int *nicindexes = NULL;
-- 
2.34.1



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux