ao-tools: Fix warnings in ao-tools
[fw/altos] / ao-tools / lib / cc-logfile.c
index 88ddda58822ee487da4a7b07a6620bc3b914bb9c..c193b1c7f5ec4f3a3120dfa392898b1d42d90b21 100644 (file)
@@ -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)