[Kst] kdeextragear-2/kst/plugins/statistics
Andrew Walker
arwalker at sumusltd.com
Mon Dec 15 20:15:31 CET 2003
CVS commit by arwalker:
Removed all compiler warnings
M +9 -0 statistics.c 1.3
--- kdeextragear-2/kst/plugins/statistics/statistics.c #1.2:1.3
@@ -10,4 +10,6 @@
#include <string.h>
+void swap( double* pData, int iOne, int iTwo );
+void quicksort( double* pData, int iLeft, int iRight );
int statistics( const double *const inArrays[], const int inArrayLens[],
const double inScalars[],
@@ -76,4 +78,11 @@ int statistics( const double *const inAr
int i;
+ /*
+ prevent warnings about unused parameters...
+ */
+ if( inScalars ) { }
+ if( outArrays ) { }
+ if( outArrayLens ) { }
+
if( inArrayLens[0] > 0 )
{
More information about the Kst
mailing list