Changeset 18957 for trunk/Mars/mfileio


Ignore:
Timestamp:
03/25/18 16:32:05 (7 years ago)
Author:
tbretz
Message:
Improved compiler warnings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mfileio/MWriteFitsFile.cc

    r18570 r18957  
    548548         // create the DOL of the table. It will be something like:     
    549549         // fileNameNoExt_dataName.fits[dataName]                       
    550          TString dol = fileNameNoExt;
    551          dol += "_";
    552          dol += i_table->first;
    553          dol += ".fits";
     550         TString dol2 = fileNameNoExt;
     551         dol2 += "_";
     552         dol2 += i_table->first;
     553         dol2 += ".fits";
    554554
    555555         if (fOpenOption == "RECREATE")
    556556            // remove the file
    557             unlink(dol.Data());
    558 
    559          dol += "[";
    560          dol += i_table->first;
    561          dol += "]";
     557            unlink(dol2.Data());
     558
     559         dol2 += "[";
     560         dol2 += i_table->first;
     561         dol2 += "]";
    562562//         *fLog << err << "Reiner would have opened fits file: " << dol.Data() << endl;
    563563         //exit(0);
Note: See TracChangeset for help on using the changeset viewer.