From 9ad97cd48903ea5454853960f2c14de326e0f624 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Wed, 14 Aug 2013 20:36:50 -0700 Subject: Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings. --- ext/gmp/gmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/gmp/gmp.c') diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index f8c3a0773b..e3a3563aac 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -1069,7 +1069,7 @@ ZEND_FUNCTION(gmp_powm) zval **base_arg, **exp_arg, **mod_arg; mpz_t *gmpnum_base, *gmpnum_exp, *gmpnum_mod, *gmpnum_result; int use_ui = 0; - int temp_base, temp_exp, temp_mod; + int temp_base = 0, temp_exp = 0, temp_mod; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ZZZ", &base_arg, &exp_arg, &mod_arg) == FAILURE){ return; -- cgit v1.2.1