File php-5.1.2-math.patch of Package php

--- ext/standard/math.c	2006/01/01 12:50:15	1.131.2.1
+++ ext/standard/math.c	2006/02/06 11:28:41	1.131.2.2
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: math.c,v 1.131.2.1 2006/01/01 12:50:15 sniper Exp $ */
+/* $Id: math.c,v 1.131.2.2 2006/02/06 11:28:41 tony2001 Exp $ */
 
 #include "php.h"
 #include "php_math.h"
@@ -448,7 +448,7 @@
 		/* calculate pow(long,long) in O(log exp) operations, bail if overflow */
 		while (i >= 1) {
 			int overflow;
-			double dval;
+			double dval = 0.0;
 
 			if (i % 2) {
 				--i;
openSUSE Build Service is sponsored by