mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2024-12-02 17:26:24 +00:00
removed some compilation warnings Daniel
* SAX2.c pattern.c: removed some compilation warnings Daniel
This commit is contained in:
parent
3df01181bd
commit
427174fbf2
@ -1,3 +1,7 @@
|
||||
Wed Dec 10 11:43:33 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* SAX2.c pattern.c: removed some compilation warnings
|
||||
|
||||
Wed Dec 10 11:16:29 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmllint.c: fixing bug #119264 xmllint failing to report
|
||||
|
3
SAX2.c
3
SAX2.c
@ -1277,7 +1277,8 @@ process_external_subset:
|
||||
if (att == NULL) {
|
||||
xmlErrValid(ctxt, XML_DTD_STANDALONE_DEFAULTED,
|
||||
"standalone: attribute %s on %s defaulted from external subset\n",
|
||||
fulln, attr->elem);
|
||||
(const char *)fulln,
|
||||
(const char *)attr->elem);
|
||||
}
|
||||
}
|
||||
attr = attr->nexth;
|
||||
|
@ -495,7 +495,7 @@ xmlPatMatch(xmlPatternPtr comp, xmlNodePtr node) {
|
||||
#define CUR_PTR ctxt->cur
|
||||
|
||||
#define SKIP_BLANKS \
|
||||
while (IS_BLANK(CUR)) NEXT
|
||||
while (IS_BLANK_CH(CUR)) NEXT
|
||||
|
||||
#define CURRENT (*ctxt->cur)
|
||||
#define NEXT ((*ctxt->cur) ? ctxt->cur++: ctxt->cur)
|
||||
@ -890,7 +890,8 @@ error:
|
||||
* Returns the compiled for of the pattern or NULL in case of error
|
||||
*/
|
||||
xmlPatternPtr
|
||||
xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags,
|
||||
xmlPatterncompile(const xmlChar *pattern, xmlDict *dict,
|
||||
int flags ATTRIBUTE_UNUSED,
|
||||
const xmlChar **namespaces) {
|
||||
xmlPatternPtr ret = NULL;
|
||||
xmlPatParserContextPtr ctxt = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user