From 7d5f6e382b7f06913c421db4357e13841e1a9632 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 18 Jun 2006 21:22:20 +0000 Subject: init variables --- src/FbTk/FbPixmap.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/FbPixmap.cc b/src/FbTk/FbPixmap.cc index a7c49a1..c605feb 100644 --- a/src/FbTk/FbPixmap.cc +++ b/src/FbTk/FbPixmap.cc @@ -234,8 +234,8 @@ void FbPixmap::rotate(FbTk::Orientation orient) { // set start, end and direction based on rotation // NOTE that startx etc are in the direction of the OLD pixmap - unsigned int startx, starty; - int dirx, diry; + unsigned int startx = 0, starty = 0; + int dirx = 0, diry = 0; switch (orient) { case ROT90: startx = neww-1; -- cgit v0.11.2