summaryrefslogtreecommitdiff
path: root/src/goal_gui.cpp
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2013-07-21 17:14:35 +0000
committerzuu <zuu@openttd.org>2013-07-21 17:14:35 +0000
commit789b4e320bf229219213233bdfbc2b5b95fa2e41 (patch)
tree2d88604e405107d9cbe87c3abcdeda1c8ecf0de2 /src/goal_gui.cpp
parent4f6d19465b3a04446aec798c35b2387c7a5b6777 (diff)
downloadopenttd-789b4e320bf229219213233bdfbc2b5b95fa2e41.tar.xz
(svn r25624) -Fix (r25620, r25623): Silence warnings
Diffstat (limited to 'src/goal_gui.cpp')
-rw-r--r--src/goal_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/goal_gui.cpp b/src/goal_gui.cpp
index 7c250558f..f401b6dc1 100644
--- a/src/goal_gui.cpp
+++ b/src/goal_gui.cpp
@@ -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;