- fix warning (initialize zend_object_value)
authorMichael Wallner <mike@php.net>
Wed, 29 Mar 2006 12:23:14 +0000 (12:23 +0000)
committerMichael Wallner <mike@php.net>
Wed, 29 Mar 2006 12:23:14 +0000 (12:23 +0000)
http_message_object.c

index 3d2e72714ba5e818b1426691c9fa984af69194e3..6e2fc27239550b4602526adc2882d0ca60b86e98 100644 (file)
@@ -278,8 +278,8 @@ void _http_message_object_reverse(zval *this_ptr, zval *return_value TSRMLS_DC)
 void _http_message_object_prepend_ex(zval *this_ptr, zval *prepend, zend_bool top TSRMLS_DC)
 {
        zval m;
-       http_message *save_parent_msg;
-       zend_object_value save_parent_obj;
+       http_message *save_parent_msg = NULL;
+       zend_object_value save_parent_obj = {0, NULL};
        getObject(http_message_object, obj);
        getObjectEx(http_message_object, prepend_obj, prepend);