[Kst] extragear/graphics/kst/kst/extensions/js

George Staikos staikos at kde.org
Fri Feb 3 14:04:31 CET 2006


SVN commit 505198 by staikos:

uninit variables


 M  +2 -1      bind_histogram.cpp  


--- trunk/extragear/graphics/kst/kst/extensions/js/bind_histogram.cpp #505197:505198
@@ -368,7 +368,8 @@
     return KJS::Undefined();
   }
 
-  double x0, x1;
+  double x0 = args[0].toNumber(exec);
+  double x1 = args[1].toNumber(exec);
 
   KstWriteLocker wl(d);
   d->setXRange(x0, x1);


More information about the Kst mailing list