Changeset 2163 for trunk/src/STMath.cpp


Ignore:
Timestamp:
05/10/11 15:02:56 (13 years ago)
Author:
Malte Marquarding
Message:

Remove various compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r2143 r2163  
    318318
    319319CountedPtr< Scantable >
    320   STMath::averageChannel( const CountedPtr < Scantable > & in,
     320STMath::averageChannel( const CountedPtr < Scantable > & in,
    321321                          const std::string & mode,
    322322                          const std::string& avmode )
    323323{
     324  (void) mode; // currently unused
    324325  // check if OTF observation
    325326  String obstype = in->getHeader().obstype ;
     
    836837  /// modes should be "nearest", "pair"
    837838  // make this operation non insitu
     839  (void) mode; //currently unused
    838840  const Table& tin = in->table();
    839841  Table ons = tin(tin.col("SRCTYPE") == Int(SrcType::PSON));
     
    14051407
    14061408
     1409  (void) scans; //currently unused
    14071410  STSelector sel;
    14081411  CountedPtr< Scantable > ws = getScantable(s, false);
     
    27142717                             mask, timeCol(i), !first,
    27152718                             interp, False);
     2719          (void) ok; // unused stop compiler nagging     
    27162720          // back into scantable
    27172721          flagOut.resize(maskOut.nelements());
     
    42594263CountedPtr<Scantable> STMath::almacalfs( const CountedPtr<Scantable>& s )
    42604264{
     4265  (void) s; //currently unused
    42614266  CountedPtr<Scantable> out ;
    42624267
     
    47114716                                            string antname )
    47124717{
     4718  (void) cold; //currently unused
    47134719  string reftime = on->getTime( index ) ;
    47144720  vector<int> ii( 1, on->getIF( index ) ) ;
     
    48054811                                              int index )
    48064812{
     4813  (void) cold; //currently unused
    48074814  string reftime = sig->getTime( index ) ;
    48084815  vector<int> ii( 1, sig->getIF( index ) ) ;
     
    48434850                                              int index )
    48444851{
     4852  (void) cold; //currently unused
    48454853  string reftime = sig->getTime( index ) ;
    48464854  vector<int> ii( 1, sig->getIF( index ) ) ;
Note: See TracChangeset for help on using the changeset viewer.