mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-24 02:36:27 +00:00
SWORD25: Fixed compiler warnings
svn-id: r53282
This commit is contained in:
parent
5bd5790e57
commit
cfc8f84c3e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user