]> Pileus Git - ~andy/rsl/commitdiff
Fix more warnings
authorAndy Spencer <andy753421@gmail.com>
Sun, 28 Aug 2011 22:17:23 +0000 (22:17 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sun, 28 Aug 2011 22:17:23 +0000 (22:17 +0000)
examples/qlook.c
src/nsig_to_radar.c

index eb90b00975232c4bcd245f5d0de26eeb4c8afc99..71f08807653b9975fd12bc24e8329f8768055927 100644 (file)
@@ -48,12 +48,12 @@ void make_pathname(char *filename, char *dir, char *pathname)
 /***********************************************************************/
 int main(int argc, char **argv) {
 
-    Radar       *radar;
-    Volume      *dz_volume, *vr_volume;
-    Volume      *dr_volume, *zt_volume;
-    Volume      *sw_volume, *qc_volume;
+    Radar       *radar     = NULL;
+    Volume      *dz_volume = NULL, *vr_volume = NULL;
+    Volume      *dr_volume = NULL, *zt_volume = NULL;
+    Volume      *sw_volume = NULL, *qc_volume = NULL;
 
-    Sweep       *sweep;
+    Sweep       *sweep     = NULL;
 
     Ray         *ray;
     int         reflectivity, qc_reflectivity;
index 166aced2537babc0478a92edcc087b03f1747da8..8acd902e92a996fccd3645195b030690dc30ec77 100644 (file)
@@ -161,7 +161,6 @@ RSL_nsig_to_radar
   int sweep_hour, sweep_minute, sweep_second;
   int sweep_sec;
   int z_flag_unc, z_flag_cor, v_flag, w_flag, speckle;
-  int ant_scan_mode;
   float second;
   float pw;
   float bin_space;