- 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:
parent
ff65f75a8c
commit
851bf89442
33 changed files with 106 additions and 87 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue