diff --git a/Engine/source/core/strings/stringFunctions.cpp b/Engine/source/core/strings/stringFunctions.cpp index 7feb50e02..ab0757eac 100644 --- a/Engine/source/core/strings/stringFunctions.cpp +++ b/Engine/source/core/strings/stringFunctions.cpp @@ -472,7 +472,7 @@ S32 dSscanf(const char *buffer, const char *format, ...) #else va_list args; va_start(args, format); - int res = vsscanf(buffer, format, args); + S32 res = vsscanf(buffer, format, args); va_end(args); return res; #endif diff --git a/Engine/source/environment/basicClouds.cpp b/Engine/source/environment/basicClouds.cpp index 2b9bef94b..185aa3a97 100644 --- a/Engine/source/environment/basicClouds.cpp +++ b/Engine/source/environment/basicClouds.cpp @@ -63,10 +63,10 @@ BasicClouds::BasicClouds() mTypeMask |= EnvironmentObjectType | StaticObjectType; mNetFlags.set(Ghostable | ScopeAlways); - mTimeSC = - mModelViewProjSC = - mTexScaleSC = - mTexDirectionSC = + mTimeSC = 0; + mModelViewProjSC = 0; + mTexScaleSC = 0; + mTexDirectionSC = 0; mTexOffsetSC = 0; mLayerEnabled[0] = true; diff --git a/Engine/source/gfx/bitmap/ddsLoader.cpp b/Engine/source/gfx/bitmap/ddsLoader.cpp index 5432f8856..6e32f0e6d 100644 --- a/Engine/source/gfx/bitmap/ddsLoader.cpp +++ b/Engine/source/gfx/bitmap/ddsLoader.cpp @@ -606,8 +606,6 @@ bool DDSFile::read(Stream &s, U32 dropMipCount) mPitchOrLinearSize = getSurfaceSize( dropMipCount ); else if ( mFlags.test( PitchSizeFlag ) ) mPitchOrLinearSize = getSurfacePitch( dropMipCount ); - else - ; // Do nothing? // Now fix up the rest of the mMipMapCount = getMax( (U32)1, mMipMapCount - dropMipCount );