[Kst] extragear/graphics/kst/src/datasources/scuba2

Andrew Walker arwalker at sumusltd.com
Thu Feb 8 01:23:14 CET 2007


SVN commit 631433 by arwalker:

remove compiler warnings

 M  +4 -3      scuba.cpp  


--- trunk/extragear/graphics/kst/src/datasources/scuba2/scuba.cpp #631432:631433
@@ -469,15 +469,12 @@
         if (file.open(IO_ReadOnly)) {
           double *values = data->z;
           QStringList entries;
-          int lineIndex;
-          int lines;
           QString str;
           long lvalue = 0;
           bool ok;
           bool error = false;
           bool max = false;
           bool avg = false;
-          int valueIndex = 0;
           int read = 0;
           int frameStart = _numFrames;
           int frameEnd = _numFrames;
@@ -818,6 +815,8 @@
 
 
 int ScubaSource::frameCount(const QString& field) const {
+  Q_UNUSED(field)
+
   //
   // the number of frames is the same for all fields...
   //
@@ -835,6 +834,8 @@
 }
 
 QStringList ScubaSource::fieldListFor(const QString& filename, ScubaSource::Config *cfg) {
+  Q_UNUSED(cfg)
+
   QStringList rc;
   QFile file(filename);
 


More information about the Kst mailing list