X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao-tools%2Flib%2Fcc-logfile.c;h=c193b1c7f5ec4f3a3120dfa392898b1d42d90b21;hp=88ddda58822ee487da4a7b07a6620bc3b914bb9c;hb=63a44b9c169d042fb1a3997620477e7f00bb0918;hpb=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a diff --git a/ao-tools/lib/cc-logfile.c b/ao-tools/lib/cc-logfile.c index 88ddda58..c193b1c7 100644 --- a/ao-tools/lib/cc-logfile.c +++ b/ao-tools/lib/cc-logfile.c @@ -306,8 +306,8 @@ cc_log_read(FILE *file) { struct cc_flightraw *f; char line[8192]; - double ground_pres; - int ground_pres_count; + double ground_pres = 0.0; + int ground_pres_count = 0; f = calloc(1, sizeof (struct cc_flightraw)); if (!f)