summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/test-char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-char.c b/tests/test-char.c
index de328380c1..95ccfd3cdb 100644
--- a/tests/test-char.c
+++ b/tests/test-char.c
@@ -745,7 +745,7 @@ static void char_socket_server_test(gconstpointer opaque)
     Visitor *v;
     QemuThread thread;
     int ret;
-    bool reconnected;
+    bool reconnected = false;
     char *optstr;
     QemuOpts *opts;