From 10a58a35ecd8d16b9641f73115b5de726c2def76 Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 23 Jul 2010 20:02:38 -0300 Subject: [PATCH] Fixed warning about probably uninitialized variables. --- src/commands/cmd_rotate_canvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cmd_rotate_canvas.cpp b/src/commands/cmd_rotate_canvas.cpp index 487406311..89287eb58 100644 --- a/src/commands/cmd_rotate_canvas.cpp +++ b/src/commands/cmd_rotate_canvas.cpp @@ -125,7 +125,7 @@ protected: // rotate mask if (m_sprite->getMask()->bitmap) { Mask* new_mask = mask_new(); - int x, y; + int x = 0, y = 0; switch (m_angle) { case 180: