Skip to content
Snippets Groups Projects
Commit 4fbef482 authored by Oliver Sander's avatar Oliver Sander
Browse files

Declare variables used only by ModelP only when ModelP is

set to avoid compiler warnings.

[[Imported from SVN: r8021]]
parent 140ebfe9
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,9 @@ static INT MarkKey; /* for MarkTmpMem */
static OUTPUTDEVICE *OutputDevice; /* current pictures output device */
static void *PBuffer; /* pixel buffer */
static void *ZBuffer; /* z buffer */
#ifdef ModelP
static void *ABuffer; /* auxiliary buffer */
#endif
/****************************************************************************/
/* */
......@@ -303,7 +305,9 @@ static void FramePicture(void)
void NS_DIM_PREFIX BulletPlot(void)
{
#ifdef ModelP
INT son;
#endif
void *scratch;
/* reuse z buffer if possible */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment