(svn r25624) -Fix (r25620, r25623): Silence warnings

This commit is contained in:
zuu
2013-07-21 17:14:35 +00:00
parent 4f6d19465b
commit 789b4e320b
3 changed files with 3 additions and 1 deletions

View File

@@ -237,7 +237,6 @@ struct GoalListWindow : public Window {
void DrawListColumn(GoalColumn column, NWidgetBase *wid, uint progress_col_width) const
{
/* Get column draw area. */
bool rtl = _current_text_dir == TD_RTL;
int y = wid->pos_y + WD_FRAMERECT_TOP;
int x = wid->pos_x + WD_FRAMERECT_LEFT;
int right = x + wid->current_x - WD_FRAMERECT_RIGHT;