summaryrefslogtreecommitdiff
path: root/src/yapf
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2007-06-24 13:30:03 +0000
committerKUDr <kudr@openttd.org>2007-06-24 13:30:03 +0000
commitac9fb1c34eec776473218f58677b69189daa0634 (patch)
tree6b3819d281a32d1bfb09c8c77515a92265fe72df /src/yapf
parenta7d5363e65d23f3684c4bc93be18f8f13f11d134 (diff)
downloadopenttd-ac9fb1c34eec776473218f58677b69189daa0634.tar.xz
(svn r10303) -Fix [YAPF](r10301): warning: unused variable tile_cost (peter1138)
Diffstat (limited to 'src/yapf')
-rw-r--r--src/yapf/yapf_costrail.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/yapf/yapf_costrail.hpp b/src/yapf/yapf_costrail.hpp
index db6fb8d1a..103275fe7 100644
--- a/src/yapf/yapf_costrail.hpp
+++ b/src/yapf/yapf_costrail.hpp
@@ -247,7 +247,6 @@ public:
* - penalty for too long or too short platform on the destination station
*/
int transition_cost = 0;
- int tile_cost = 0;
int extra_cost = 0;
/* Segment: one or more tiles connected by contiguous tracks of the same type.