diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-22 17:25:43 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-22 17:25:43 +0100 |
commit | 5bbc639dc8eced23dcc851a461c17273ef9d078d (patch) | |
tree | 6ab66d3e9b7138522bd18118d0a9d331c306f85b /src | |
parent | 69739f199e462a017cbf5e4c70368dbccc0b3c5a (diff) |
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? ;)
Diffstat (limited to 'src')
-rw-r--r-- | src/winwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |