From 6a2729ed4d09ba4c387db2aa67733c8ea448e7e6 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 9 Sep 2008 01:21:07 +0000 Subject: Fixed a compiler warning --- ext/soap/soap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 681469b7b4..d5c89c186f 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1109,7 +1109,7 @@ static HashTable* soap_create_typemap(sdlPtr sdl, HashTable *ht TSRMLS_DC) if (Z_TYPE_PP(tmp) != IS_ARRAY) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Wrong 'typemap' option"); - return; + return NULL; } ht2 = Z_ARRVAL_PP(tmp); -- cgit v1.2.1