[Kst] kdeextragear-2/kst/plugins/interpolations

Andrew Walker arwalker at sumusltd.com
Fri Feb 6 00:11:28 CET 2004


CVS commit by arwalker: 

Removed compiler warnings


  M +12 -0     interpolations.h   1.2


--- kdeextragear-2/kst/plugins/interpolations/interpolations.h  #1.1:1.2
@@ -1,2 +1,10 @@
+/*
+ *  Generic non-linear fit plugin for KST.
+ *  Copyright 2004, The University of British Columbia
+ *  Released under the terms of the GPL.
+ */
+
+#define KST_UNUSED(x) if(x){};
+
 #define X                                       0
 #define Y                                       1
@@ -20,4 +28,8 @@ int interpolate(
         double outScalars[],
   const gsl_interp_type* pType) {
+  
+  KST_UNUSED( inScalars )
+  KST_UNUSED( outScalars )
+  
   gsl_interp_accel*     pAccel = NULL;
   gsl_interp*                           pInterp = NULL;





More information about the Kst mailing list