Cosmetics (removed space on error message)

This commit is contained in:
Felipe Pena 2008-03-08 11:47:13 +00:00
parent ddc8a63168
commit 579e46dd76

View File

@ -895,14 +895,14 @@ fetch_string_dim:
if (zend_symtable_find(ht, offset_key, offset_key_length+1, (void **) &retval) == FAILURE) { if (zend_symtable_find(ht, offset_key, offset_key_length+1, (void **) &retval) == FAILURE) {
switch (type) { switch (type) {
case BP_VAR_R: case BP_VAR_R:
zend_error(E_NOTICE, "Undefined index: %s", offset_key); zend_error(E_NOTICE, "Undefined index: %s", offset_key);
/* break missing intentionally */ /* break missing intentionally */
case BP_VAR_UNSET: case BP_VAR_UNSET:
case BP_VAR_IS: case BP_VAR_IS:
retval = &EG(uninitialized_zval_ptr); retval = &EG(uninitialized_zval_ptr);
break; break;
case BP_VAR_RW: case BP_VAR_RW:
zend_error(E_NOTICE,"Undefined index: %s", offset_key); zend_error(E_NOTICE,"Undefined index: %s", offset_key);
/* break missing intentionally */ /* break missing intentionally */
case BP_VAR_W: { case BP_VAR_W: {
zval *new_zval = &EG(uninitialized_zval); zval *new_zval = &EG(uninitialized_zval);
@ -928,14 +928,14 @@ num_index:
if (zend_hash_index_find(ht, index, (void **) &retval) == FAILURE) { if (zend_hash_index_find(ht, index, (void **) &retval) == FAILURE) {
switch (type) { switch (type) {
case BP_VAR_R: case BP_VAR_R:
zend_error(E_NOTICE,"Undefined offset: %ld", index); zend_error(E_NOTICE,"Undefined offset: %ld", index);
/* break missing intentionally */ /* break missing intentionally */
case BP_VAR_UNSET: case BP_VAR_UNSET:
case BP_VAR_IS: case BP_VAR_IS:
retval = &EG(uninitialized_zval_ptr); retval = &EG(uninitialized_zval_ptr);
break; break;
case BP_VAR_RW: case BP_VAR_RW:
zend_error(E_NOTICE,"Undefined offset: %ld", index); zend_error(E_NOTICE,"Undefined offset: %ld", index);
/* break missing intentionally */ /* break missing intentionally */
case BP_VAR_W: { case BP_VAR_W: {
zval *new_zval = &EG(uninitialized_zval); zval *new_zval = &EG(uninitialized_zval);