]> granicus.if.org Git - php/commitdiff
MFH: Fixed possible usage of un-initialized variable.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 16 Nov 2004 21:04:27 +0000 (21:04 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 16 Nov 2004 21:04:27 +0000 (21:04 +0000)
ext/soap/soap.c

index b35ac6ff2be41e244e9513dc0bf651eef3eb5bd7..6eef78b5054b630de938ac729399b0db6ad62358 100644 (file)
@@ -1266,7 +1266,7 @@ PHP_METHOD(SoapServer, handle)
        int soap_version, old_soap_version;
        sdlPtr old_sdl = NULL;
        soapServicePtr service;
-       xmlDocPtr doc_request, doc_return;
+       xmlDocPtr doc_request=NULL, doc_return;
        zval function_name, **params, **raw_post, *soap_obj, retval, **server_vars;
        char *fn_name, cont_len[30];
        int num_params = 0, size, i, call_status = 0;