1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

- Removing warnings on various paltforms

- closing bug #5281
Daniel
This commit is contained in:
Daniel Veillard
2000-02-02 17:15:36 +00:00
parent f341f93011
commit 5feb8495f4
9 changed files with 48 additions and 6 deletions

View File

@ -685,8 +685,13 @@ xmlInitParserCtxt(xmlParserCtxtPtr ctxt)
ctxt->valid = 1;
ctxt->validate = xmlDoValidityCheckingDefaultValue;
ctxt->vctxt.userData = ctxt;
ctxt->vctxt.error = xmlParserValidityError;
ctxt->vctxt.warning = xmlParserValidityWarning;
if (ctxt->validate) {
ctxt->vctxt.error = xmlParserValidityError;
ctxt->vctxt.warning = xmlParserValidityWarning;
} else {
ctxt->vctxt.error = NULL;
ctxt->vctxt.warning = NULL;
}
ctxt->replaceEntities = xmlSubstituteEntitiesDefaultValue;
ctxt->record_info = 0;
ctxt->nbChars = 0;