Message ID | 20181004053507.19883-1-kraxel@redhat.com |
---|---|
State | New |
Headers | show |
Series | gtk: initialize zoom_to_fit | expand |
Hi On Thu, Oct 4, 2018 at 9:36 AM Gerd Hoffmann <kraxel@redhat.com> wrote: > > Fixes: CID 1395988 > Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Same patch sent by Paolo yesterday: https://lists.nongnu.org/archive/html/qemu-devel/2018-10/msg00474.html > --- > 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 > >
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;
Fixes: CID 1395988 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- ui/gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)