Pārlūkot izejas kodu

Don't self-assign

Ben Payne 10 gadi atpakaļ
vecāks
revīzija
be0b9728e5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 ) )
       else if ( mFlags.test( PitchSizeFlag ) )
          mPitchOrLinearSize = getSurfacePitch( dropMipCount );
          mPitchOrLinearSize = getSurfacePitch( dropMipCount );
       else
       else
-         mPitchOrLinearSize = mPitchOrLinearSize; // Do nothing?
+         ; // Do nothing?
 
 
       // Now fix up the rest of the 
       // Now fix up the rest of the 
       mMipMapCount = getMax( (U32)1, mMipMapCount - dropMipCount );
       mMipMapCount = getMax( (U32)1, mMipMapCount - dropMipCount );