From e2fa625bd4c0e0ef74b657f55056920198219049 Mon Sep 17 00:00:00 2001 From: avolkov Date: Sat, 19 Dec 2009 01:47:46 +0000 Subject: [PATCH] Remove some unused vars to avoid warnings git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3445 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/uqm/planets/pl_stuff.c | 1 - sc2/src/uqm/planets/scan.c | 1 - 2 files changed, 2 deletions(-) diff --git a/sc2/src/uqm/planets/pl_stuff.c b/sc2/src/uqm/planets/pl_stuff.c index 23b6c1073..35adc7c1b 100644 --- a/sc2/src/uqm/planets/pl_stuff.c +++ b/sc2/src/uqm/planets/pl_stuff.c @@ -276,7 +276,6 @@ void DrawPlanet (int tintY, Color tintColor) { STAMP s; - UBYTE a = 128; PLANET_ORBIT *Orbit = &pSolarSysState->Orbit; s.origin.x = 0; diff --git a/sc2/src/uqm/planets/scan.c b/sc2/src/uqm/planets/scan.c index b8de5e0b3..28ec45667 100644 --- a/sc2/src/uqm/planets/scan.c +++ b/sc2/src/uqm/planets/scan.c @@ -978,7 +978,6 @@ ScanPlanet (COUNT scanType) #define SCAN_LINES (MAP_HEIGHT + NUM_FLASH_COLORS + 1) #define SCAN_LINE_WAIT (SCAN_DURATION / SCAN_LINES) - PLANET_ORBIT *Orbit = &pSolarSysState->Orbit; COUNT startScan, endScan; COUNT scan; RECT r;