- Turned on warning level 4 just to see what it would produce: a lot of
warnings. At first, I was going to try and clean them all up. Then I decided that was a worthless cause and went about just acting on the ones that might actually be helpful: C4189 (local variable is initialized but not referenced) C4702 (unreachable code) C4512 (assignment operator could not be generated) SVN r420 (trunk)
This commit is contained in:
parent
c8d07f3883
commit
e1bd63e876
47 changed files with 131 additions and 128 deletions
|
|
@ -46,7 +46,7 @@ bool FAutomapTexture::Check(FileReader & data)
|
|||
return true;
|
||||
}
|
||||
|
||||
FTexture *FAutomapTexture::Create(FileReader & file, int lumpnum)
|
||||
FTexture *FAutomapTexture::Create(FileReader &, int lumpnum)
|
||||
{
|
||||
return new FAutomapTexture(lumpnum);
|
||||
}
|
||||
|
|
@ -55,7 +55,7 @@ FAutomapTexture::FAutomapTexture (int lumpnum)
|
|||
: Pixels(NULL), LumpNum(lumpnum)
|
||||
{
|
||||
Width = 320;
|
||||
Height = Wads.LumpLength(lumpnum) / 320;
|
||||
Height = WORD(Wads.LumpLength(lumpnum) / 320);
|
||||
CalcBitSize ();
|
||||
|
||||
DummySpan[0].TopOffset = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue