mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-16 07:21:58 +03:00
Remove a few warnings
This commit is contained in:
@ -4291,8 +4291,6 @@ htmlParseElementInternal(htmlParserCtxtPtr ctxt) {
|
|||||||
const htmlElemDesc * info;
|
const htmlElemDesc * info;
|
||||||
htmlParserNodeInfo node_info;
|
htmlParserNodeInfo node_info;
|
||||||
int failed;
|
int failed;
|
||||||
int depth;
|
|
||||||
const xmlChar *oldptr;
|
|
||||||
|
|
||||||
if ((ctxt == NULL) || (ctxt->input == NULL)) {
|
if ((ctxt == NULL) || (ctxt->input == NULL)) {
|
||||||
htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
|
htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
|
||||||
|
3
SAX2.c
3
SAX2.c
@ -1108,7 +1108,8 @@ xmlSAX2AttributeInternal(void *ctx, const xmlChar *fullname,
|
|||||||
#ifdef LIBXML_HTML_ENABLED
|
#ifdef LIBXML_HTML_ENABLED
|
||||||
if ((ctxt->html) &&
|
if ((ctxt->html) &&
|
||||||
(value == NULL) && (htmlIsBooleanAttr(fullname))) {
|
(value == NULL) && (htmlIsBooleanAttr(fullname))) {
|
||||||
nval = value = xmlStrdup(fullname);
|
nval = xmlStrdup(fullname);
|
||||||
|
value = (const xmlChar *) nval;
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
@ -2479,7 +2479,6 @@ xmlXIncludeProcessTreeFlagsData(xmlNodePtr tree, int flags, void *data) {
|
|||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
xmlXIncludeProcessFlagsData(xmlDocPtr doc, int flags, void *data) {
|
xmlXIncludeProcessFlagsData(xmlDocPtr doc, int flags, void *data) {
|
||||||
xmlXIncludeCtxtPtr ctxt;
|
|
||||||
xmlNodePtr tree;
|
xmlNodePtr tree;
|
||||||
|
|
||||||
if (doc == NULL)
|
if (doc == NULL)
|
||||||
|
Reference in New Issue
Block a user