- Fixed all the warnings from GCC 4.2, including a handful that were

present in
  older GCCs.



SVN r430 (trunk)
This commit is contained in:
Randy Heit 2006-12-29 03:38:37 +00:00
commit 851bf89442
33 changed files with 106 additions and 87 deletions

View file

@ -1045,7 +1045,7 @@ void R_DrawSkyBoxes ()
if (visplanes[MAXVISPLANES] == NULL)
return;
VisplaneAndAlpha vaAdder;
VisplaneAndAlpha vaAdder = { 0 };
int savedextralight = extralight;
fixed_t savedx = viewx;
fixed_t savedy = viewy;
@ -1175,7 +1175,7 @@ void R_DrawSkyBoxes ()
// sake of nested skyboxes.
while (interestingStack.Pop (FirstInterestingDrawseg))
{
ptrdiff_t pd;
ptrdiff_t pd = 0;
drawsegStack.Pop (pd);
firstdrawseg = drawsegs + pd;