[Kst] branches/work/kst/portto4/kst/src

Peter Kümmel syntheticpp at gmx.net
Sat Mar 19 12:48:29 CET 2011


SVN commit 1225288 by kuemmel:

remove warnings

 M  +1 -1      datasources/ascii/asciisource.cpp  
 M  +1 -1      datasources/ascii/asciisource.h  
 M  +1 -1      libkst/datasource.h  


--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.cpp #1225287:1225288
@@ -638,7 +638,7 @@
 
 
 //-------------------------------------------------------------------------------------------
-void AsciiSource::toDouble(const LexicalCast& lexc, const char* buffer, int bufread, int ch, double* v, int row)
+void AsciiSource::toDouble(const LexicalCast& lexc, const char* buffer, int bufread, int ch, double* v, int)
 {
   if (   isDigit(buffer[ch])
       || buffer[ch] == '-'
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.h #1225287:1225288
@@ -194,7 +194,7 @@
     };
 
     struct IsLineBreakLF {
-      IsLineBreakLF(const LineEndingType& t) : size(1) {
+      IsLineBreakLF(const LineEndingType&) : size(1) {
       }
       const int size;
       inline bool operator()(const char c) const {
--- branches/work/kst/portto4/kst/src/libkst/datasource.h #1225287:1225288
@@ -196,7 +196,7 @@
 
     /** Creates a list of curves without user interaction
     */
-    virtual ObjectList<Object> autoCurves(ObjectStore& objectStore) { return ObjectList<Object>(); }
+    virtual ObjectList<Object> autoCurves(ObjectStore&) { return ObjectList<Object>(); }
 
 
   public Q_SLOTS:


More information about the Kst mailing list