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

Andrew Walker arwalker at sumusltd.com
Mon Dec 15 20:17:23 CET 2003


CVS commit by arwalker: 

Removed all compiler warnings


  M +6 -0      chop.c   1.2


--- kdeextragear-2/kst/plugins/chop/chop.c  #1.1:1.2
@@ -26,4 +26,10 @@ int chop( const double *const inArrays[]
     int i;
     
+    /*
+    prevent warnings about unused parameters...
+    */
+    if( inScalars ) { }
+    if( outArrays ) { }
+    
     if( iLength > 1 )
     {   





More information about the Kst mailing list