summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-09-15 07:46:20 +0000
committerAndi Gutmans <andi@php.net>2002-09-15 07:46:20 +0000
commit7f6c2da50a0a5e066f3dde3449d93b9beae38293 (patch)
tree94e49df38e59112a0ca7a764c8d0b7ae3ac51125
parent43139dc7553956d57619f2429230d1ac6ad72fd4 (diff)
downloadphp-git-7f6c2da50a0a5e066f3dde3449d93b9beae38293.tar.gz
- WS fix - "while (" instead of "while("
-rw-r--r--Zend/zend_execute.c4
-rw-r--r--Zend/zend_list.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 31bac63094..d7e3079cf2 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -444,7 +444,7 @@ static inline void zend_assign_to_variable(znode *result, znode *op1, znode *op2
* the value of an assignment to a string offset is undefined
Ts[result->u.var].var = &T->EA.data.str_offset.str;
*/
- } while(0);
+ } while (0);
/* zval_ptr_dtor(&T->EA.data.str_offset.str); Nuke this line if it doesn't cause a leak */
T->tmp_var.type = IS_STRING;
}
@@ -1778,7 +1778,7 @@ binary_assign_op_addr_obj:
ulong dummy;
zend_hash_internal_pointer_reset_ex(&ce->constants_table, &pos);
- while(zend_hash_get_current_data_ex(&ce->constants_table, (void **)&import_constant, &pos) == SUCCESS) {
+ while (zend_hash_get_current_data_ex(&ce->constants_table, (void **)&import_constant, &pos) == SUCCESS) {
key_type = zend_hash_get_current_key_ex(&ce->constants_table, &key, &key_length, &dummy, 0, &pos);
c.value = **import_constant;
diff --git a/Zend/zend_list.c b/Zend/zend_list.c
index 7c737e41fc..2733cb42ff 100644
--- a/Zend/zend_list.c
+++ b/Zend/zend_list.c
@@ -313,7 +313,7 @@ ZEND_API int zend_fetch_list_dtor_id(char *type_name)
HashPosition pos;
zend_hash_internal_pointer_reset_ex(&list_destructors, &pos);
- while(zend_hash_get_current_data_ex(&list_destructors, (void **)&lde, &pos) == SUCCESS) {
+ while (zend_hash_get_current_data_ex(&list_destructors, (void **)&lde, &pos) == SUCCESS) {
if (strcmp(type_name, lde->type_name) == 0) {
#if 0
printf("Found resource id %d for resource type %s\n", (*lde).resource_id, type_name);