diff options
author | Paul Gilbert | 2010-08-23 00:35:50 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 23:15:18 +0000 |
commit | cfc8f84c3e648e98b9f6102a27eb16c18b06f6e2 (patch) | |
tree | a34579eea1c0223c2b96e617f6a7cab981e25bf7 | |
parent | 5bd5790e5714403682bd254625c7b1dd9813b65d (diff) | |
download | scummvm-rg350-cfc8f84c3e648e98b9f6102a27eb16c18b06f6e2.tar.gz scummvm-rg350-cfc8f84c3e648e98b9f6102a27eb16c18b06f6e2.tar.bz2 scummvm-rg350-cfc8f84c3e648e98b9f6102a27eb16c18b06f6e2.zip |
SWORD25: Fixed compiler warnings
svn-id: r53282
-rw-r--r-- | engines/sword25/gfx/opengl/openglgfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/gfx/opengl/openglgfx.cpp b/engines/sword25/gfx/opengl/openglgfx.cpp index 00c64ecbd6..4affeaee19 100644 --- a/engines/sword25/gfx/opengl/openglgfx.cpp +++ b/engines/sword25/gfx/opengl/openglgfx.cpp @@ -289,7 +289,7 @@ Resource *OpenGLGfx::LoadResource(const Common::String &FileName) { // Bild für den Softwarebuffer laden if (FileName.hasSuffix(PNG_S_EXTENSION)) { - bool Result; + bool Result = false; SWImage *pImage = new SWImage(FileName, Result); if (!Result) { delete pImage; @@ -307,7 +307,7 @@ Resource *OpenGLGfx::LoadResource(const Common::String &FileName) { // Sprite-Bild laden if (FileName.hasSuffix(PNG_EXTENSION) || FileName.hasSuffix(B25S_EXTENSION)) { - bool Result; + bool Result = false; GLImage *pImage = new GLImage(FileName, Result); if (!Result) { delete pImage; @@ -338,7 +338,7 @@ Resource *OpenGLGfx::LoadResource(const Common::String &FileName) { return 0; } - bool Result; + bool Result = false; VectorImage *pImage = new VectorImage(pFileData, FileSize, Result); if (!Result) { delete pImage; |