VirtualBox

Changeset 104197 in vbox


Ignore:
Timestamp:
Apr 5, 2024 3:19:01 PM (8 months ago)
Author:
vboxsync
Message:

libxml2-2.12.6: manual merge fix. ​bugref:10640

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/libxml2-2.12.6/xmlschemas.c

    r104106 r104197  
    54615461                     xmlNodePtr node, int min, int max)
    54625462{
     5463
    54635464    xmlSchemaParticlePtr ret = NULL;
    54645465    if (ctxt == NULL)
     
    54665467
    54675468    ret = (xmlSchemaParticlePtr)
     5469
    54685470#ifdef DEBUG
    54695471#ifndef VBOX
     
    54715473#endif /* !VBOX */
    54725474#endif
    5473     ret = (xmlSchemaParticlePtr)
    5474         xmlMalloc(sizeof(xmlSchemaParticle));
    5475     if (ret == NULL) {
    5476         xmlSchemaPErrMemory(ctxt, "allocating particle component",
    5477             NULL);
    5478         return (NULL);
    5479     }
    5480     ret->type = XML_SCHEMA_TYPE_PARTICLE;
    5481     ret->annot = NULL;
    5482     ret->node = node;
    5483     ret->minOccurs = min;
    5484     ret->maxOccurs = max;
    5485     ret->next = NULL;
    5486     ret->children = NULL;
    5487 
    5488     WXS_ADD_LOCAL(ctxt, ret);
    5489     /*
    5490     * Note that addition to pending components will be done locally
    5491     * to the specific parsing function, since the most particles
    5492     * need not to be fixed up (i.e. the reference to be resolved).
    5493     * REMOVED: WXS_ADD_PENDING(ctxt, ret);
    5494     */
    5495     return (ret);
    54965475}
    54975476
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette