Fix some unused variable warnings by ifdefing code and made some functions static.

This commit is contained in:
riccardom 2008-12-28 14:53:57 +00:00
parent 029a5e0edb
commit b1a044fb7c
1 changed files with 7 additions and 7 deletions

View File

@ -1137,14 +1137,14 @@ void gfx3d_execute(u8 cmd, u32 param)
}
#endif
void gfx3d_FlushFIFO()
static void gfx3d_FlushFIFO()
{
u32 cmd;
u32 param;
#if 1
GFX_FIFOclear();
#if 0
#else
u32 cmd;
u32 param;
//INFO("GX FIFO tail at %i, GXstat 0x%08X\n", gxFIFO.tail, gxstat);
if (gxFIFO.tail == 0)
{
@ -1384,7 +1384,7 @@ void gfx3d_sendCommandToFIFO(u32 val)
#endif
#if 1
void NOPARAMS(u32 val)
static void NOPARAMS(u32 val)
{
for (;;)
{