fix some unused variable warnings

This commit is contained in:
sezero
2018-08-20 20:55:32 +03:00
parent 19c5f4e705
commit d2c076b8ab
2 changed files with 1 additions and 2 deletions

View File

@@ -163,7 +163,6 @@ GR_ENTRY(grAADrawPoint, void, ( const GrVertex *e ))
static void grSetVertexParameter(const GrVertex *v1)
{
GR_DCL_GC;
GR_DCL_HW;
struct dataList_s *dlp;
int i;
float *fp, dp;

View File

@@ -1071,7 +1071,6 @@ GR_ENTRY(grSstControl, FxBool, ( GrControl_t code ))
{
#define FN_NAME "grSstControl"
GR_DCL_GC;
GDBG_INFO((41, "%s: code = 0x%x, windowsInit = %d\n", FN_NAME,
code, _GlideRoot.windowsInit));
@@ -1150,6 +1149,7 @@ GR_ENTRY(grSstControl, FxBool, ( GrControl_t code ))
ctrlflag = initControl(code);
#if (GLIDE_PLATFORM & GLIDE_OS_WIN32)
{
GR_DCL_GC;
if (gc->oemInit) {
FARPROC oemControl = GetProcAddress(gc->oemInit, "_fxoemControl@4");
if (oemControl)