Browse Source

Don't self-assign

Ben Payne 10 years ago
parent
commit
be0b9728e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/gfx/bitmap/ddsLoader.cpp

+ 1 - 1
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 );