[Kst] kdeextragear-2/kst/plugins/phase
Andrew Walker
arwalker at sumusltd.com
Mon Dec 15 20:12:25 CET 2003
CVS commit by arwalker:
Removed all compiler warnings
M +11 -4 phase.c 1.3
--- kdeextragear-2/kst/plugins/phase/phase.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 phase( const double *const inArrays[], const int inArrayLens[],
const double inScalars[],
@@ -75,4 +77,9 @@ int phase( const double *const inArrays[
int i;
+ /*
+ prevent warnings about unused parameters...
+ */
+ if( outScalars ) { }
+
if( dPhasePeriod > 0.0 )
{
More information about the Kst
mailing list