iliaa Sun Apr 17 23:04:16 2005 EDT
Modified files:
/php-src/ext/com_dotnet com_dotnet.c com_persist.c
Log:
removed unused vars.
http://cvs.php.net/diff.php/php-src/ext/com_dotnet/com_dotnet.c?r1=1.12&r2=1.13&ty=u
Index: php-src/ext/com_dotnet/com_dotnet.c
diff -u php-src/ext/com_dotnet/com_dotnet.c:1.12
php-src/ext/com_dotnet/com_dotnet.c:1.13
--- php-src/ext/com_dotnet/com_dotnet.c:1.12 Sat Oct 9 00:39:58 2004
+++ php-src/ext/com_dotnet/com_dotnet.c Sun Apr 17 23:04:15 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: com_dotnet.c,v 1.12 2004/10/09 04:39:58 wez Exp $ */
+/* $Id: com_dotnet.c,v 1.13 2005/04/18 03:04:15 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -126,7 +126,6 @@
HRESULT hr;
struct dotnet_runtime_stuff *stuff;
IUnknown *unk = NULL;
- OLECHAR *olename, *oletmp;
char *where = "";
stuff = malloc(sizeof(*stuff));
@@ -188,7 +187,7 @@
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 = "";
http://cvs.php.net/diff.php/php-src/ext/com_dotnet/com_persist.c?r1=1.3&r2=1.4&ty=u
Index: php-src/ext/com_dotnet/com_persist.c
diff -u php-src/ext/com_dotnet/com_persist.c:1.3
php-src/ext/com_dotnet/com_persist.c:1.4
--- php-src/ext/com_dotnet/com_persist.c:1.3 Sat Jul 31 13:27:03 2004
+++ php-src/ext/com_dotnet/com_persist.c Sun Apr 17 23:04:15 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: com_persist.c,v 1.3 2004/07/31 17:27:03 wez Exp $ */
+/* $Id: com_persist.c,v 1.4 2005/04/18 03:04:15 iliaa Exp $ */
/* Infrastructure for working with persistent COM objects.
* Implements: IStream* wrapper for PHP streams.
@@ -717,7 +717,6 @@
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 @@
{
php_com_persist_helper *helper;
zend_object_value retval;
- zval *tmp;
helper = emalloc(sizeof(*helper));
memset(helper, 0, sizeof(*helper));
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php