com php-src: fix datatype mismatch and kick unused var: ext/com_dotnet/com_com.c

From: Date: Thu, 13 Nov 2014 18:57:30 +0000
Subject: com php-src: fix datatype mismatch and kick unused var: ext/com_dotnet/com_com.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83082@lists.php.net to get a copy of this message
Commit: 5f81cfe097219dfc77eb63ad6613246f07f16850 Author: Anatol Belski <ab@php.net> Thu, 13 Nov 2014 14:27:38 +0100 Parents: c865472ef0c431cf3c6ec153736881d13e8a6883 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5f81cfe097219dfc77eb63ad6613246f07f16850 Log: fix datatype mismatch and kick unused var Changed paths: M ext/com_dotnet/com_com.c Diff: diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c index e1a9503..7de6d94 100644 --- a/ext/com_dotnet/com_com.c +++ b/ext/com_dotnet/com_com.c @@ -254,7 +254,7 @@ PHP_FUNCTION(com_create_instance) ITypeLib_Release(TL); } } else if (obj->typeinfo && COMG(autoreg_on)) { - int idx; + UINT idx; if (SUCCEEDED(ITypeInfo_GetContainingTypeLib(obj->typeinfo, &TL, &idx))) { /* check if the library is already in the cache by getting its name */ @@ -693,7 +693,6 @@ PHP_FUNCTION(com_event_sink) { zval *object, *sinkobject, *sink=NULL; char *dispname = NULL, *typelibname = NULL; - zend_bool gotguid = 0; php_com_dotnet_object *obj; ITypeInfo *typeinfo = NULL;

« previous php.cvs (#83082) next »