com php-src: Fix compile warning in GMP: ext/gmp/gmp.c
| From: | Nikita Popov | Date: | Tue, 29 Oct 2013 19:07:34 +0000 |
| Subject: | com php-src: Fix compile warning in GMP: ext/gmp/gmp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73830@lists.php.net to get a copy of this message | ||
Commit: 647e0be64b4cdcc5c94aa245d4d876d193709287
Author: Nikita Popov <nikic@php.net> Tue, 29 Oct 2013 20:07:34 +0100
Parents: 82eca388d201aa39984521694c92f1955d646838
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=647e0be64b4cdcc5c94aa245d4d876d193709287
Log:
Fix compile warning in GMP
Changed paths:
M ext/gmp/gmp.c
Diff:
diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c
index 8b5c131..6b3dadf 100644
--- a/ext/gmp/gmp.c
+++ b/ext/gmp/gmp.c
@@ -1363,7 +1363,7 @@ ZEND_FUNCTION(gmp_powm)
zval *base_arg, *exp_arg, *mod_arg;
mpz_ptr gmpnum_base, gmpnum_exp, gmpnum_mod, gmpnum_result;
int use_ui = 0;
- gmp_temp_t temp_base = {0}, temp_exp = {0}, temp_mod;
+ gmp_temp_t temp_base, temp_exp, temp_mod;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzz", &base_arg, &exp_arg,
&mod_arg) == FAILURE){
return;