From: Wez Furlong Date: Mon, 13 Oct 2003 11:47:05 +0000 (+0000) Subject: Unintialized variable fix from Joe Orton. X-Git-Tag: php-4.3.4RC2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef89c82c028ddafcc81014eadfb9c71d7905f9d3;p=php Unintialized variable fix from Joe Orton. --- diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index df87558bd8..272014e614 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -311,7 +311,7 @@ static inline void gmp_zval_binary_ui_op2_ex(zval *return_value, zval **a_arg, z mpz_t *gmpnum_a, *gmpnum_b, *gmpnum_result1, *gmpnum_result2; zval r; int use_ui=0; - unsigned long long_result; + unsigned long long_result = 0; FETCH_GMP_ZVAL(gmpnum_a, a_arg); if(gmp_ui_op && Z_TYPE_PP(b_arg) == IS_LONG && Z_LVAL_PP(b_arg) >= 0) {