mirror of
https://github.com/php/php-src.git
synced 2025-01-24 12:43:38 +08:00
removed unused vars.
This commit is contained in:
parent
c17b18689c
commit
0810696e50
@ -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 = "";
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user