changeset 7039:9833784e408c draft

(svn r10303) -Fix [YAPF](r10301): warning: unused variable tile_cost (peter1138)
author KUDr <KUDr@openttd.org>
date Sun, 24 Jun 2007 13:30:03 +0000
parents a8f9cc6d36c0
children 8eb3b26739ac
files src/yapf/yapf_costrail.hpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/yapf/yapf_costrail.hpp
+++ b/src/yapf/yapf_costrail.hpp
@@ -247,7 +247,6 @@
 		 *    - 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.