From 5a9873c3bdb1fd8081f684036e7b82dbbe330fba Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 28 Jan 2007 21:54:40 +0000 Subject: (svn r8449) -Fix -Codechange: Remove the superfluous attribute RoadStop::prev --- src/station.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/station.cpp') diff --git a/src/station.cpp b/src/station.cpp index 416c41ea1..7998e49ca 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -365,8 +365,7 @@ RoadStop::RoadStop(TileIndex tile) : xy(tile), status(3), // stop is free num_vehicles(0), - next(NULL), - prev(NULL) + next(NULL) { DEBUG(ms, cDebugCtorLevel, "I+ at %d[0x%x]", tile, tile); } @@ -386,9 +385,6 @@ RoadStop::~RoadStop() } assert(num_vehicles == 0); - if (prev != NULL) prev->next = next; - if (next != NULL) next->prev = prev; - DEBUG(ms, cDebugCtorLevel , "I- at %d[0x%x]", xy, xy); xy = INVALID_TILE; -- cgit v1.2.3-54-g00ecf