Shut up compiler warnings.

No idea how those variables could ever be used uninitialized, but gcc complains
about it.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/qt-trunk@10896 4a71c877-e1ca-e34f-864e-861f7616d084
master
Christian Ohm 2010-06-03 18:55:25 +00:00 committed by Git SVN Gateway
parent b8e6d46263
commit 732c0b70a1
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ BOOL screen_GetBackDrop(void)
void screen_Upload(const char *newBackDropBmp, BOOL preview) void screen_Upload(const char *newBackDropBmp, BOOL preview)
{ {
static bool processed = false; static bool processed = false;
int x1 = 0, x2 = screenWidth, y1 = 0, y2 = screenHeight, i, scale, w, h; int x1 = 0, x2 = screenWidth, y1 = 0, y2 = screenHeight, i, scale = 0, w = 0, h = 0;
float tx = 1, ty = 1; float tx = 1, ty = 1;
if(newBackDropBmp != NULL) if(newBackDropBmp != NULL)