From c77c15e4de920c67169c4d2e3812016691fcdf68 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Wed, 18 Oct 2017 13:40:20 +0200 Subject: [PATCH] Initialise more variables to keep AppVeyor happy --- src/openrct2/ride/ride.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/ride/ride.c b/src/openrct2/ride/ride.c index 3890671420..6ab9913a1c 100644 --- a/src/openrct2/ride/ride.c +++ b/src/openrct2/ride/ride.c @@ -7048,9 +7048,9 @@ static sint32 ride_get_smallest_station_length(Ride *ride) static sint32 ride_get_track_length(Ride * ride) { rct_window * w; - rct_map_element * mapElement; + rct_map_element * mapElement = NULL; track_circuit_iterator it; - sint32 x, y, z, trackType, rideIndex, result; + sint32 x = 0, y = 0, z, trackType, rideIndex, result; bool foundTrack = false; for (sint32 i = 0; i < MAX_STATIONS && !foundTrack; i++)