From 52985b59a51da0d17362d10c6c49e4af1cb88270 Mon Sep 17 00:00:00 2001 From: Thilo Raufeisen Date: Wed, 30 Nov 2005 12:13:18 +0000 Subject: [PATCH] removed in_get/in_set on object creation to avoid build-failure with php 5.1x --- gnupg.c | 2 -- gnupg_keylistiterator.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/gnupg.c b/gnupg.c index f15eba8..692143a 100644 --- a/gnupg.c +++ b/gnupg.c @@ -155,8 +155,6 @@ zend_object_value gnupg_obj_new(zend_class_entry *class_type TSRMLS_DC){ intern = emalloc(sizeof(gnupg_object)); intern->zo.ce = class_type; - intern->zo.in_get = 0; - intern->zo.in_set = 0; intern->zo.properties = NULL; ALLOC_HASHTABLE (intern->zo.properties); diff --git a/gnupg_keylistiterator.c b/gnupg_keylistiterator.c index 703b320..55a37f6 100644 --- a/gnupg_keylistiterator.c +++ b/gnupg_keylistiterator.c @@ -70,8 +70,6 @@ zend_object_value gnupg_keylistiterator_objects_new(zend_class_entry *class_type intern = emalloc(sizeof(gnupg_keylistiterator_object)); intern->zo.ce = class_type; - intern->zo.in_get = 0; - intern->zo.in_set = 0; intern->zo.properties = NULL; retval.handle = zend_objects_store_put(intern,NULL,(zend_objects_free_object_storage_t) gnupg_keylistiterator_dtor,NULL TSRMLS_CC); retval.handlers = (zend_object_handlers *) & gnupg_keylistiterator_object_handlers;