[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] gtk: initialize zoom_to_fit
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH] gtk: initialize zoom_to_fit |
Date: |
Thu, 4 Oct 2018 07:35:07 +0200 |
Fixes: CID 1395988
Signed-off-by: Gerd Hoffmann <address@hidden>
---
ui/gtk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/gtk.c b/ui/gtk.c
index 3ddb5fe162..ec935fff90 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -2136,7 +2136,7 @@ static GSList *gd_vc_gfx_init(GtkDisplayState *s,
VirtualConsole *vc,
QemuConsole *con, int idx,
GSList *group, GtkWidget *view_menu)
{
- bool zoom_to_fit;
+ bool zoom_to_fit = false;
vc->label = qemu_console_get_label(con);
vc->s = s;
--
2.9.3
- [Qemu-devel] [PATCH] gtk: initialize zoom_to_fit,
Gerd Hoffmann <=