(svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx)
authorKUDr
Fri, 20 Apr 2007 19:43:06 +0000
changeset 7009 106b9ee18507
parent 7008 7a74ee540047
child 7010 98433ae38b8c
(svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx)
src/yapf/yapf_ship.cpp
--- a/src/yapf/yapf_ship.cpp	Fri Apr 20 19:41:19 2007 +0000
+++ b/src/yapf/yapf_ship.cpp	Fri Apr 20 19:43:06 2007 +0000
@@ -61,7 +61,7 @@
 		pf.SetOrigin(src_tile, trackdirs);
 		pf.SetDestination(v->dest_tile, dest_trackdirs);
 		// find best path
-		bool bFound = pf.FindPath(v);
+		pf.FindPath(v);
 
 		Trackdir next_trackdir = INVALID_TRACKDIR; // this would mean "path not found"