summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-04-18 03:04:15 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-04-18 03:04:15 +0000
commit0810696e50ad8f291e3eaa65b291b809d6cd8f90 (patch)
tree9d58f48ec891f7078b0b366fefc975cfe49189aa
parentc17b18689c1474dc38cc22bbe904018216d19450 (diff)
downloadphp-git-0810696e50ad8f291e3eaa65b291b809d6cd8f90.tar.gz
removed unused vars.
-rw-r--r--ext/com_dotnet/com_dotnet.c3
-rwxr-xr-xext/com_dotnet/com_persist.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/ext/com_dotnet/com_dotnet.c b/ext/com_dotnet/com_dotnet.c
index 18bb22e979..7a0d6ade55 100644
--- a/ext/com_dotnet/com_dotnet.c
+++ b/ext/com_dotnet/com_dotnet.c
@@ -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 = "";
diff --git a/ext/com_dotnet/com_persist.c b/ext/com_dotnet/com_persist.c
index 70f3d89ad1..f015cf4544 100755
--- a/ext/com_dotnet/com_persist.c
+++ b/ext/com_dotnet/com_persist.c
@@ -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));