war on -Werror, part 2: unused variables and dead code

This commit is contained in:
Devin J. Pohly
2012-12-26 20:35:02 -05:00
parent 1f80e3be4c
commit 7aac8c5ae3
8 changed files with 10 additions and 28 deletions
-3
View File
@@ -650,9 +650,6 @@ void ScreenOptions::PositionRows( bool bTween )
float fPos = (float) pos;
LuaExpressionTransform *pExpr = NULL;
pExpr = &m_exprRowPositionTransformFunction;
if( i < first_start ) fPos = -0.5f;
else if( i >= first_end && i < second_start ) fPos = ((int)NUM_ROWS_SHOWN)/2-0.5f;
else if( i >= second_end ) fPos = ((int)NUM_ROWS_SHOWN)-0.5f;