nuke unused vars (for compiler warnings)

This commit is contained in:
ehouse 2003-11-19 04:50:29 +00:00
parent e1fd8fda5b
commit 1133b1d694
2 changed files with 2 additions and 2 deletions

View file

@ -446,7 +446,6 @@ palm_draw_drawTrayDivider( DrawCtx* p_dctx, XP_Rect* rect, XP_Bool selected )
--lRect.width; --lRect.width;
if ( selected ) { if ( selected ) {
PalmDrawCtx* dctx = (PalmDrawCtx*)p_dctx;
short pattern[] = { 0xFF00, 0xFF00, 0xFF00, 0xFF00 }; short pattern[] = { 0xFF00, 0xFF00, 0xFF00, 0xFF00 };
WinSetPattern( (const CustomPatternType*)&pattern ); WinSetPattern( (const CustomPatternType*)&pattern );
@ -854,7 +853,6 @@ static void
palm_draw_drawTimer( DrawCtx* p_dctx, XP_Rect* rInner, XP_Rect* rOuter, palm_draw_drawTimer( DrawCtx* p_dctx, XP_Rect* rInner, XP_Rect* rOuter,
XP_U16 player, XP_S16 secondsLeft ) XP_U16 player, XP_S16 secondsLeft )
{ {
PalmDrawCtx* dctx = (PalmDrawCtx*)p_dctx;
XP_UCHAR buf[10]; XP_UCHAR buf[10];
XP_Rect localR = *rInner; XP_Rect localR = *rInner;
RectangleType saveClip; RectangleType saveClip;

View file

@ -2623,7 +2623,9 @@ askBlankValue( PalmAppGlobals* globals, XP_U16 playerNum, PickInfo* pi,
XP_UCHAR* labelFmt; XP_UCHAR* labelFmt;
FieldPtr fld; FieldPtr fld;
XP_U16 tapped; XP_U16 tapped;
#ifdef FEATURE_TRAY_EDIT
XP_Bool forBlank = pi->why == PICK_FOR_BLANK; XP_Bool forBlank = pi->why == PICK_FOR_BLANK;
#endif
initListData( MEMPOOL &ld, nTiles ); initListData( MEMPOOL &ld, nTiles );