diff --git a/src/RawRideFile.cpp b/src/RawRideFile.cpp index 58047c4ac..88cdd636c 100644 --- a/src/RawRideFile.cpp +++ b/src/RawRideFile.cpp @@ -122,7 +122,7 @@ pt_read_raw(FILE *in, int compat, void *context, double mph; double nm; double watts; - double alt; + double alt = 0; unsigned cad; unsigned hr; struct tm time;