Skip to content

Commit

Permalink
remove unused sanitized fn
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Dec 7, 2016
1 parent 76a28f9 commit 08fc175
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions blind/augment-xylist.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,11 +680,10 @@ int augment_xylist(augment_xylist_t* axy,
if (axy->imagefn) {
// if --image is given:
// -run image2pnm
// -if it's a FITS image, keep the original (well, sanitized version)
// -if it's a FITS image, keep the original
// -otherwise, run ppmtopgm (if necessary) and pnmtofits.
// -run image2xy to generate xylist
char *uncompressedfn;
char *sanitizedfn;
char *pnmfn = NULL;
sl* lines;
anbool iscompressed = FALSE;
Expand All @@ -694,9 +693,7 @@ int augment_xylist(augment_xylist_t* axy,
anbool want_pnm = TRUE;

uncompressedfn = create_temp_file("uncompressed", axy->tempdir);
sanitizedfn = create_temp_file("sanitized", axy->tempdir);
sl_append_nocopy(tempfiles, uncompressedfn);
sl_append_nocopy(tempfiles, sanitizedfn);

if (axy->assume_fits_image) {
axy->isfits = TRUE;
Expand Down

0 comments on commit 08fc175

Please sign in to comment.