removed unused vars.

This commit is contained in:
Ilia Alshanetsky 2005-04-18 03:04:15 +00:00
parent c17b18689c
commit 0810696e50
2 changed files with 1 additions and 4 deletions

View File

@ -126,7 +126,6 @@ static HRESULT dotnet_init(char **p_where TSRMLS_DC)
HRESULT hr;
struct dotnet_runtime_stuff *stuff;
IUnknown *unk = NULL;
OLECHAR *olename, *oletmp;
char *where = "";
stuff = malloc(sizeof(*stuff));
@ -188,7 +187,7 @@ PHP_FUNCTION(com_dotnet_create_instance)
char *assembly_name, *datatype_name;
int assembly_name_len, datatype_name_len;
struct dotnet_runtime_stuff *stuff;
OLECHAR *olestring, *oleassembly, *oletype;
OLECHAR *oleassembly, *oletype;
HRESULT hr;
int ret = FAILURE;
char *where = "";

View File

@ -717,7 +717,6 @@ static void helper_free_storage(void *obj TSRMLS_DC)
static void helper_clone(void *obj, void **clone_ptr TSRMLS_DC)
{
php_com_persist_helper *clone, *object = (php_com_persist_helper*)obj;
zval *tmp;
clone = emalloc(sizeof(*object));
memcpy(clone, object, sizeof(*object));
@ -744,7 +743,6 @@ static zend_object_value helper_new(zend_class_entry *ce TSRMLS_DC)
{
php_com_persist_helper *helper;
zend_object_value retval;
zval *tmp;
helper = emalloc(sizeof(*helper));
memset(helper, 0, sizeof(*helper));