]> granicus.if.org Git - php/commitdiff
fix uninitialized value warn
authorAnatol Belski <ab@php.net>
Wed, 11 Feb 2015 10:17:34 +0000 (11:17 +0100)
committerAnatol Belski <ab@php.net>
Wed, 11 Feb 2015 10:46:28 +0000 (11:46 +0100)
ext/soap/php_schema.c

index 9b1d379b7bfd0dc924f4d8c1b6759a4f8cee70a7..a0918038039af56487c434fe9f5ce8701ed9b1b1 100644 (file)
@@ -1062,7 +1062,7 @@ static int schema_group(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr groupType, sdlTyp
 {
        xmlNodePtr trav;
        xmlAttrPtr ns, name, ref = NULL;
-       sdlContentModelPtr newModel;
+       sdlContentModelPtr newModel = NULL;
 
        ns = get_attribute(groupType->properties, "targetNamespace");
        if (ns == NULL) {