summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-04-22 17:46:34 +0400
committerDmitry Stogov <dmitry@zend.com>2014-04-22 17:46:34 +0400
commit5864ce8a447b718d0912cb073afe87eddc47b2e8 (patch)
tree81d7b40143c084383637c253bd61c3c795ca428f /Zend/zend.c
parentc0b49a701a74f9be1f99f79c4334d4aecdf1f1c6 (diff)
downloadphp-git-5864ce8a447b718d0912cb073afe87eddc47b2e8.tar.gz
Fixed compilation warnings
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index a722531283..dc0ae2739b 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -133,7 +133,6 @@ static void print_hash(zend_write_func_t write_func, HashTable *ht, int indent,
{
zval *tmp;
zend_string *string_key;
- HashPosition iterator;
ulong num_key;
int i;
@@ -193,7 +192,6 @@ static void print_flat_hash(HashTable *ht TSRMLS_DC) /* {{{ */
{
zval *tmp;
zend_string *string_key;
- HashPosition iterator;
ulong num_key;
int i = 0;
@@ -1029,7 +1027,7 @@ ZEND_API void zend_error(int type, const char *format, ...) /* {{{ */
zval params[5];
zval retval;
const char *error_filename;
- uint error_lineno;
+ uint error_lineno = 0;
zval orig_user_error_handler;
zend_bool in_compilation;
zend_class_entry *saved_class_entry;