File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,9 @@ _get_entity(void *user, const xmlChar *name)
375375 if (ret == NULL )
376376 ret = xmlGetDocEntity (parser -> parser -> myDoc , name );
377377
378+ ZEND_DIAGNOSTIC_IGNORED_START ("-Wdeprecated-declarations" )
378379 if (ret == NULL || (parser -> parser -> instate != XML_PARSER_ENTITY_VALUE && parser -> parser -> instate != XML_PARSER_ATTRIBUTE_VALUE )) {
380+ ZEND_DIAGNOSTIC_IGNORED_END
379381 if (ret == NULL || ret -> etype == XML_INTERNAL_GENERAL_ENTITY || ret -> etype == XML_INTERNAL_PARAMETER_ENTITY || ret -> etype == XML_INTERNAL_PREDEFINED_ENTITY ) {
380382 /* Predefined entities will expand unless no cdata handler is present */
381383 if (parser -> h_default && ! (ret && ret -> etype == XML_INTERNAL_PREDEFINED_ENTITY && parser -> h_cdata )) {
You can’t perform that action at this time.
0 commit comments