]> Pileus Git - ~andy/rsl/blobdiff - rainbow_to_radar.c
Fix lots of unused-result warnings
[~andy/rsl] / rainbow_to_radar.c
index 7887063038cf23e4b3ae08f5e159b6f95b3c6bb0..409ecdf26c8c88b6a11a4f77728b7ba657b29a96 100644 (file)
@@ -226,8 +226,9 @@ int rainbow_data_to_radar(Radar *radar, Rainbow_hdr rainbow_hdr, FILE *fp)
     if (nrays != 360) {
        fprintf(stderr,"WARNING: number of rays computed is not the number "
                "expected.\n");
-       fprintf(stderr,"Computed = nrays: azstart = %d, az_stop = %d, "
-               "az_step = %f\n");
+       fprintf(stderr,"Computed = nrays: "
+           "azstart = %d, az_stop = %d, az_step = %%f\n",
+           rainbow_hdr.az_start, rainbow_hdr.az_stop, rainbow_hdr.az_step);
        fprintf(stderr,"Expected 360\n");
     }
     radar->v[vol_index] = RSL_new_volume(nsweeps);