< prev index next >
src/java.desktop/share/native/libawt/java2d/loops/ProcessPath.c
Print this page
@@ -782,14 +782,14 @@
/* Temporary array for holding parameters corresponding to the extreme in X
* and Y points. The values are inside the (0,1) range (0 and 1 excluded)
* and in ascending order.
*/
- double params[2];
+ double params[2] = {0.0, 0.0};
jint cnt = 0;
- double param;
+ double param = 0.0;
/* Simple check for monotonicity in X before searching for the extreme
* points of the X(t) function. We first check if the curve is monotonic
* in X by seeing if all of the X coordinates are strongly ordered.
*/
< prev index next >