(svn r4465) -Codechange (FS#60): Remove a variable no one really needs. (DaleStan)
authorcelestar
Tue, 18 Apr 2006 07:20:37 +0000
changeset 3579 4a55e8ce3087
parent 3578 c354a34a7c0a
child 3580 14bf6e7715c8
(svn r4465) -Codechange (FS#60): Remove a variable no one really needs. (DaleStan)
aircraft_cmd.c
--- a/aircraft_cmd.c	Tue Apr 18 06:42:14 2006 +0000
+++ b/aircraft_cmd.c	Tue Apr 18 07:20:37 2006 +0000
@@ -1600,7 +1600,6 @@
 {
 	AirportFTA *current;
 	byte prev_pos;
-	bool retval = false;
 
 	// error handling
 	if (v->u.air.pos >= Airport->nofelements) {
@@ -1624,7 +1623,7 @@
 		if (AirportSetBlocks(v, current, Airport)) {
 			v->u.air.pos = current->next_position;
 		} // move to next position
-		return retval;
+		return false;
 	}
 
 	// there are more choices to choose from, choose the one that
@@ -1634,7 +1633,7 @@
 			if (AirportSetBlocks(v, current, Airport)) {
 				v->u.air.pos = current->next_position;
 			} // move to next position
-			return retval;
+			return false;
 		}
 		current = current->next_in_chain;
 	} while (current != NULL);