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/Scantable.cpp

    r2162 r2163  
    137137         << "Data will be loaded from " << outname << " instead of "
    138138         << name << LogIO::POST ;
    139       system( exec.c_str() ) ;
     139      int tmp = system( exec.c_str() ) ;
     140      (void) tmp;
    140141      tab = Table(outname, Table::Update ) ;
    141142      //os << "tab.tableName()=" << tab.tableName() << LogIO::POST ;
     
    178179*/
    179180
    180 Scantable::Scantable( const Scantable& other, bool clear )
     181Scantable::Scantable( const Scantable& other, bool clear ):
     182  Logger()
    181183{
    182184  // with or without data
     
    986988
    987989
    988 std::string Scantable::headerSummary( bool verbose )
     990std::string Scantable::headerSummary()
    989991{
    990992  // Format header info
     
    10351037  oss << setw(15) << "Abcissa:" << getAbcissaLabel(0) << endl;
    10361038  oss << selector_.print() << endl;
    1037   /// @todo implement verbose mode
    10381039  return String(oss);
    10391040}
    10401041
    1041 std::string Scantable::summary( bool verbose )
     1042std::string Scantable::summary()
    10421043{
    10431044  ostringstream oss;
     
    10481049
    10491050  // Format header info
    1050   oss << headerSummary(verbose);
     1051  oss << headerSummary();
    10511052  oss << endl;
    10521053
     
    11121113    ++iter;
    11131114  }
    1114   /// @todo implement verbose mode
    11151115  return String(oss);
    11161116}
     
    12821282void Scantable::setRestFrequencies( const vector<std::string>& name )
    12831283{
     1284  (void) name; // suppress unused warning
    12841285  throw(AipsError("setRestFrequencies( const vector<std::string>& name ) NYI"));
    12851286  ///@todo implement
     
    26842685
    26852686
    2686 std::string Scantable::formatBaselineParamsHeader(int whichrow, const std::string& masklist, bool verbose) const
     2687std::string Scantable::formatBaselineParamsHeader(int whichrow,
     2688                                                  const std::string& masklist,
     2689                                                  bool verbose) const
    26872690{
    26882691  ostringstream oss;
     
    27192722}
    27202723
    2721   std::string Scantable::formatBaselineParams(const std::vector<float>& params, const std::vector<bool>& fixed, float rms, const std::string& masklist, int whichrow, bool verbose, int start, int count, bool resetparamid) const
     2724  std::string Scantable::formatBaselineParams(const std::vector<float>& params,
     2725                                              const std::vector<bool>& fixed,
     2726                                              float rms,
     2727                                              const std::string& masklist,
     2728                                              int whichrow,
     2729                                              bool verbose,
     2730                                              int start, int count,
     2731                                              bool resetparamid) const
    27222732{
    27232733  int nParam = (int)(params.size());
Note: See TracChangeset for help on using the changeset viewer.