From 5bbc639dc8eced23dcc851a461c17273ef9d078d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 22 Mar 2010 17:25:43 +0100 Subject: winwidget_render_image: Initialize max_w and max_h Just in case, and we don't want the compiler to complain about it, do we? ;) --- src/winwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winwidget.c b/src/winwidget.c index 937e8a2..6280f46 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -382,7 +382,7 @@ void winwidget_render_image(winwidget winwid, int resize, int alias) if (resize && (winwid->full_screen || opt.geom_flags)) { int smaller; /* Is the image smaller than screen? */ - int max_w, max_h; + int max_w = 0, max_h = 0; if (winwid->full_screen) { max_w = scr->width; -- cgit v1.2.3