diff options
author | KUDr <kudr@openttd.org> | 2007-04-20 19:43:06 +0000 |
---|---|---|
committer | KUDr <kudr@openttd.org> | 2007-04-20 19:43:06 +0000 |
commit | d0de381c30c9a374fe8e85f6119e931bc311f428 (patch) | |
tree | 6da680f44c9161a0dd4e2e65a589271d01191788 | |
parent | ba5b663e1f8a364e1a6f01813d4f7fa288d7619d (diff) | |
download | openttd-d0de381c30c9a374fe8e85f6119e931bc311f428.tar.xz |
(svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx)
-rw-r--r-- | src/yapf/yapf_ship.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yapf/yapf_ship.cpp b/src/yapf/yapf_ship.cpp index 0ac6f23d6..867a85e9e 100644 --- a/src/yapf/yapf_ship.cpp +++ b/src/yapf/yapf_ship.cpp @@ -61,7 +61,7 @@ public: 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" |