[Kst] extragear/graphics/kst/src/libkstmath

George Staikos staikos at kde.org
Sat Jul 8 09:32:13 CEST 2006


SVN commit 559716 by staikos:

impossible


 M  +0 -8      psdcalculator.cpp  


--- trunk/extragear/graphics/kst/src/libkstmath/psdcalculator.cpp #559715:559716
@@ -169,14 +169,6 @@
     _a = new double[_awLen];
     _w = new double[_awLen];
 
-    if (!_a || !_w) {
-      delete[] _a;
-      delete[] _w;
-
-      KstDebug::self()->log(i18n("in PSDCalculator::calculatePowerSpectrum: unable to allocate _a or _w array."), KstDebug::Error);
-      return -1;
-    }
-
     updateWindowFxn(apodizeFxn, gaussianSigma);
   }
 


More information about the Kst mailing list