summaryrefslogtreecommitdiff
path: root/ext/gmp
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-14 20:36:50 -0700
committerChristopher Jones <sixd@php.net>2013-08-14 20:36:50 -0700
commit9ad97cd48903ea5454853960f2c14de326e0f624 (patch)
tree9607bef3020deb8da37bacdb1c14624f4b5d1d2f /ext/gmp
parent9d62807190ebda858acbb09ad832c96570a97c40 (diff)
downloadphp-git-9ad97cd48903ea5454853960f2c14de326e0f624.tar.gz
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Diffstat (limited to 'ext/gmp')
-rw-r--r--ext/gmp/gmp.c2
1 files changed, 1 insertions, 1 deletions
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;