- WS fix - "while (" instead of "while("

This commit is contained in:
Andi Gutmans 2002-09-15 07:46:20 +00:00
parent 43139dc755
commit 7f6c2da50a
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);