From: Harald Radi Date: Wed, 29 Jan 2003 00:59:54 +0000 (+0000) Subject: fix warnings X-Git-Tag: php-4.3.2RC1~380 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f2275ec679c26eb40c80a9e61da436a3f171eae;p=php fix warnings --- diff --git a/ext/com/COM.c b/ext/com/COM.c index dd8b8ecd4a..754ddb4ad9 100644 --- a/ext/com/COM.c +++ b/ext/com/COM.c @@ -973,7 +973,6 @@ PHP_FUNCTION(com_invoke) pval **arguments; pval *object, *function_name; comval *obj; - int type; int arg_count = ZEND_NUM_ARGS(); VARIANT *var_result; @@ -1016,7 +1015,6 @@ PHP_FUNCTION(com_release) { pval *object; comval *obj; - int type; int arg_count = ZEND_NUM_ARGS(); if (arg_count != 1) { @@ -1041,7 +1039,6 @@ PHP_FUNCTION(com_addref) { pval *object; comval *obj; - int type; int arg_count = ZEND_NUM_ARGS(); if (arg_count != 1) { @@ -2309,9 +2306,7 @@ PHPAPI int php_COM_load_typelib(ITypeLib *TypeLib, int mode TSRMLS_DC) PHP_FUNCTION(com_isenum) { pval *object; - pval **comval_handle; comval *obj; - int type; if (ZEND_NUM_ARGS() != 1) { ZEND_WRONG_PARAM_COUNT();