mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
remove unused variable
This commit is contained in:
parent
b084fa57c8
commit
3f3f9541b3
1 changed files with 1 additions and 2 deletions
|
@ -320,13 +320,12 @@ handlePenDownInTray( BoardCtxt* board, XP_U16 x, XP_U16 y )
|
||||||
XP_Bool
|
XP_Bool
|
||||||
handlePenUpTray( BoardCtxt* board, XP_U16 x, XP_U16 y )
|
handlePenUpTray( BoardCtxt* board, XP_U16 x, XP_U16 y )
|
||||||
{
|
{
|
||||||
XP_Bool result;
|
XP_Bool result = XP_FALSE;
|
||||||
XP_Bool ignore;
|
XP_Bool ignore;
|
||||||
XP_S16 index = pointToTileIndex( board, x, y, &ignore );
|
XP_S16 index = pointToTileIndex( board, x, y, &ignore );
|
||||||
|
|
||||||
if ( index >= 0 ) {
|
if ( index >= 0 ) {
|
||||||
XP_U16 selPlayer = board->selPlayer;
|
XP_U16 selPlayer = board->selPlayer;
|
||||||
TileBit newIndex = 1 << index;
|
|
||||||
BoardArrow* arrow = &board->boardArrow[selPlayer];
|
BoardArrow* arrow = &board->boardArrow[selPlayer];
|
||||||
|
|
||||||
if ( arrow->visible ) {
|
if ( arrow->visible ) {
|
||||||
|
|
Loading…
Reference in a new issue