]> granicus.if.org Git - php/commitdiff
Fix a warning
authorMarcus Boerger <helly@php.net>
Sun, 18 Jan 2004 23:19:36 +0000 (23:19 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 18 Jan 2004 23:19:36 +0000 (23:19 +0000)
ext/soap/php_sdl.c

index 23f8c8c08a5c2b94a550e6bcf878509e61b4f95d..b8980358980bceddfa5864fa3da01f179af3efab 100644 (file)
@@ -73,7 +73,6 @@ encodePtr get_encoder(sdlPtr sdl, const char *ns, const char *type)
 {
        encodePtr enc = NULL;
        char *nscat;
-       TSRMLS_FETCH();
 
        nscat = emalloc(strlen(ns) + strlen(type) + 2);
        sprintf(nscat, "%s:%s", ns, type);
@@ -303,6 +302,7 @@ static void load_wsdl_ex(char *struri, sdlCtx *ctx, int include)
        xmlNodePtr root, definitions, trav;
        xmlAttrPtr targetNamespace;
        int old_error_reporting;
+       TSRMLS_FETCH();
 
        /* TODO: WSDL Caching */