]> Pileus Git - ~andy/rsl/blobdiff - src/wsr88d_m31.c
Fix more errors
[~andy/rsl] / src / wsr88d_m31.c
index 015b1cc09271d5a4f81d860eb9a16a4f57038aab..cc912ba6ae27e496a4fa61297e4f87629320bb84 100644 (file)
@@ -391,13 +391,13 @@ void wsr88d_load_ray(Wsr88d_ray_m31 *wsr88d_ray,
     /* Load data into ray structure for this field or data moment. */
 
     int ngates;
-    int i, hdr_size;
+    int i;
     float value, scale, offset;
-    Range (*invf)(float x);
-    float (*f)(Range x);
     Ray *ray;
     int vol_index, waveform;
-    char *type_str;
+    Range (*invf)(float x) = DZ_INVF;
+    float (*f)(Range x) = DZ_F;
+    char *type_str = "Unknown Type";
 
     enum waveforms {surveillance=1, doppler_w_amb_res, doppler_no_amb_res,
        batch};