Revision: 21580
Author: gervandiepen
Date: Tue Mar 24 08:37:00 2015 UTC
Log: Fixed compiler warnings
https://code.google.com/p/casacore/source/detail?r=21580
Modified:
/branches/nov14/msfits/MSFits/FitsIDItoMS.cc
/branches/nov14/msfits/MSFits/FitsIDItoMS.h
/branches/nov14/msfits/MSFits/MSFitsInput.cc
=======================================
--- /branches/nov14/msfits/MSFits/FitsIDItoMS.cc Wed Dec 24 12:52:41 2014
UTC
+++ /branches/nov14/msfits/MSFits/FitsIDItoMS.cc Tue Mar 24 08:37:00 2015
UTC
@@ -157,14 +157,14 @@
//
// Constructor
//
-FITSIDItoMS1::FITSIDItoMS1(FitsInput& fitsin, const Int& obsType, const
Bool& initFirstMain)
+ FITSIDItoMS1::FITSIDItoMS1(FitsInput& fitsin, const Int& obsType, const
Bool& initFirstMain)
: BinaryTableExtension(fitsin),
itsNrMSKs(10),
itsMSKC(itsNrMSKs," "),
itsMSKN(itsNrMSKs," "),
itsMSKV(itsNrMSKs," "),
itsgotMSK(itsNrMSKs,False),
- infile_p(fitsin),
+ ///infile_p(fitsin),
itsObsType(obsType),
msc_p(0)
{
=======================================
--- /branches/nov14/msfits/MSFits/FitsIDItoMS.h Wed Dec 24 11:46:02 2014 UTC
+++ /branches/nov14/msfits/MSFits/FitsIDItoMS.h Tue Mar 24 08:37:00 2015 UTC
@@ -270,7 +270,7 @@
Vector<Bool> itsgotMSK;
- FitsInput &infile_p;
+ ///FitsInput &infile_p;
String msFile_p;
Vector<Int> nPixel_p,corrType_p;
Block<Int> corrIndex_p;
@@ -286,7 +286,7 @@
MFrequency::Types freqsys_p;
Double restfreq_p;
LogIO* itsLog;
- Int nIF_p;
+ ///Int nIF_p;
Double startTime_p;
Double lastTime_p;
Int itsObsType;
=======================================
--- /branches/nov14/msfits/MSFits/MSFitsInput.cc Wed Dec 24 12:52:41 2014
UTC
+++ /branches/nov14/msfits/MSFits/MSFitsInput.cc Tue Mar 24 08:37:00 2015
UTC
@@ -2521,7 +2521,7 @@
Int spwId =
msc_p->dataDescription().spectralWindowId()(lastDDId);
// now check if we've seen this field for this spectral
window
// Use indexed access to the SOURCE sub-table
- pair<Int, Int> myfldspw = make_pair<Int, Int>(lastFieldId, spwId);
+ pair<Int, Int> myfldspw = make_pair(lastFieldId, spwId);
if(!sourceFieldIndex.isDefined(myfldspw)){
sourceFieldIndex.define(myfldspw, 1);