[PATCH 09/14] ch: Remove unused variables

Rayhan Faizel posted 14 patches 3 months ago
[PATCH 09/14] ch: Remove unused variables
Posted by Rayhan Faizel 3 months ago
Unused variables in ch_process.c cause compilation errors so remove them.

Signed-off-by: Rayhan Faizel <rayhan.faizel@gmail.com>
---
 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