more clenaup, expect more bugs
This commit is contained in:
@@ -43,7 +43,6 @@ switch (plane) {
|
||||
return -66;
|
||||
}
|
||||
|
||||
|
||||
remove(outname); /* Delete old file if it already exists */
|
||||
if (fits_create_file(&fptr, outname, &status)) {
|
||||
fits_report_error(stderr, status);
|
||||
@@ -53,7 +52,6 @@ if (fits_create_file(&fptr, outname, &status)) {
|
||||
naxes[0] = src->width; naxes[1] = src->height;
|
||||
if (verbosity) fimg_describe(src, "to be saved as FITS");
|
||||
|
||||
|
||||
if ( fits_create_img(fptr, bitpix, naxis, naxes, &status) ) {
|
||||
fits_report_error(stderr, status);
|
||||
return -10;
|
||||
|
||||
Reference in New Issue
Block a user