[xml] Query Regarding xmlDOMWrapAdoptBranch



 

Hi ,

       In the function xmlDOMWrapAdoptBranch there is an assignment statement in the case XML_ATTRIBUTE_NODE, inside the goto tag ns_end:

 

  ((xmlAttrPtr) cur)->atype = 0;

 

The enum atype begins with value 1, so this statement is causing a problem when building on Solaris using cc…..

 

Any particular reason why this is being set to 0 here?

 

Regards

Ashwin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]