From be0b9728e568603035b37e12b38248d10f05ae64 Mon Sep 17 00:00:00 2001 From: Ben Payne Date: Wed, 18 Feb 2015 20:43:34 -0500 Subject: [PATCH] Don't self-assign --- Engine/source/gfx/bitmap/ddsLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/gfx/bitmap/ddsLoader.cpp b/Engine/source/gfx/bitmap/ddsLoader.cpp index 4ad23ef39..5432f8856 100644 --- a/Engine/source/gfx/bitmap/ddsLoader.cpp +++ b/Engine/source/gfx/bitmap/ddsLoader.cpp @@ -607,7 +607,7 @@ bool DDSFile::read(Stream &s, U32 dropMipCount) else if ( mFlags.test( PitchSizeFlag ) ) mPitchOrLinearSize = getSurfacePitch( dropMipCount ); else - mPitchOrLinearSize = mPitchOrLinearSize; // Do nothing? + ; // Do nothing? // Now fix up the rest of the mMipMapCount = getMax( (U32)1, mMipMapCount - dropMipCount );