com php-src: Use already set variable: ext/standard/formatted _print.c
| From: | Gabriel Caruso | Date: | Sun, 30 Sep 2018 05:01:10 +0000 |
| Subject: | com php-src: Use already set variable: ext/standard/formatted _print.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103275@lists.php.net to get a copy of this message | ||
Commit: 257bec33f82668bce0e2615bfea67bf71339d7f1
Author: Gabriel Caruso <carusogabriel34@gmail.com> Sun, 30 Sep 2018 02:01:10 -0300
Parents: 03ba053af0240daeff9fbde4d37de2565df65429
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=257bec33f82668bce0e2615bfea67bf71339d7f1
Log:
Use already set variable
Changed paths:
M ext/standard/formatted_print.c
Diff:
diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c
index 857e55d..1874b3f 100644
--- a/ext/standard/formatted_print.c
+++ b/ext/standard/formatted_print.c
@@ -433,7 +433,7 @@ php_formatted_print(zend_execute_data *execute_data, int use_array, int format_o
currarg = 1;
- while (inpos < Z_STRLEN(args[format_offset])) {
+ while (inpos < format_len) {
int expprec = 0;
zval *tmp;