]> granicus.if.org Git - php/commitdiff
Typo
authorDmitry Stogov <dmitry@zend.com>
Fri, 21 Mar 2014 12:37:53 +0000 (16:37 +0400)
committerDmitry Stogov <dmitry@zend.com>
Fri, 21 Mar 2014 12:37:53 +0000 (16:37 +0400)
Zend/zend_execute.c

index 2258f75ab359e6ceb2981de51023feb9640c9e54..bc498fee0a4ff04e26c39e06f7327b5bbaae893a 100644 (file)
@@ -775,7 +775,7 @@ static inline void zend_assign_to_object(zval *retval, zval *object_ptr, zval *p
                                Z_ADDREF_P(object);
                                zend_error(E_WARNING, "Creating default object from empty value");
 //???
-                               if (Z_TYPE_P(object) == IS_INDIRECT); {
+                               if (Z_TYPE_P(object) == IS_INDIRECT) {
                                        object = Z_INDIRECT_P(object);
                                }
                                if (Z_REFCOUNT_P(object) == 1) {
@@ -791,7 +791,7 @@ static inline void zend_assign_to_object(zval *retval, zval *object_ptr, zval *p
                        } else {
                                zend_error(E_WARNING, "Creating default object from empty value");
 //???
-                               if (Z_TYPE_P(object) == IS_INDIRECT); {
+                               if (Z_TYPE_P(object) == IS_INDIRECT) {
                                        object = Z_INDIRECT_P(object);
                                }
                        }