From 40e85b7f9f70f271aba6a8215d0099b5685984df Mon Sep 17 00:00:00 2001 From: ptv Date: Tue, 30 Oct 2007 09:44:37 +0000 Subject: [PATCH] linux compilation --- src/Plot2d/Plot2d_Curve.cxx | 2 -- src/QDS/QDS_Table.cxx | 4 ++-- src/Qtx/QtxListOfOperations.cxx | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Plot2d/Plot2d_Curve.cxx b/src/Plot2d/Plot2d_Curve.cxx index c86db8f32..99bd1de25 100755 --- a/src/Plot2d/Plot2d_Curve.cxx +++ b/src/Plot2d/Plot2d_Curve.cxx @@ -364,7 +364,6 @@ double Plot2d_Curve::getMinX() const { QValueList::const_iterator aIt; double aMinX = 1e150; - int aCurrent = 0; for(aIt = myPoints.begin(); aIt != myPoints.end(); ++aIt) { if ( (*aIt).x < aMinX ) aMinX = (*aIt).x; @@ -379,7 +378,6 @@ double Plot2d_Curve::getMinY() const { QValueList::const_iterator aIt; double aMinY = 1e150; - int aCurrent = 0; for(aIt = myPoints.begin(); aIt != myPoints.end(); ++aIt) { if ( (*aIt).y < aMinY ) aMinY = (*aIt).y; diff --git a/src/QDS/QDS_Table.cxx b/src/QDS/QDS_Table.cxx index 12e796314..57057fc8f 100644 --- a/src/QDS/QDS_Table.cxx +++ b/src/QDS/QDS_Table.cxx @@ -213,7 +213,7 @@ QDS_Datum* QDS_Table::actualCellEditor( const int row, const int col ) const void QDS_Table::setNumRows( int r ) { - int old = numRows(); + //int old = numRows(); QtxTable::setNumRows( r ); if ( isKeepEditors() ) @@ -224,7 +224,7 @@ void QDS_Table::setNumRows( int r ) void QDS_Table::setNumCols( int c ) { - int old = numCols(); + //int old = numCols(); QtxTable::setNumCols( c ); if ( isKeepEditors() ) diff --git a/src/Qtx/QtxListOfOperations.cxx b/src/Qtx/QtxListOfOperations.cxx index a6c2e6810..1b1cae574 100644 --- a/src/Qtx/QtxListOfOperations.cxx +++ b/src/Qtx/QtxListOfOperations.cxx @@ -146,7 +146,7 @@ QtxParser::Error QtxListOfOperations::calculate( const QString& op, QtxValue& v1, QtxValue& v2 ) const { - const char* deb = op.latin1(); + //const char* deb = op.latin1(); OperationSetsIterator anIt = mySets.begin(), aLast = mySets.end(); @@ -161,7 +161,7 @@ QtxParser::Error QtxListOfOperations::calculate( const QString& op, if( err==QtxParser::OK || err==QtxParser::InvalidResult ) { QString oop = (*anIt).myName; - const char* ooo = oop.latin1(); + //const char* ooo = oop.latin1(); v1 = nv1; v2 = nv2; return err; } -- 2.39.2