1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-24 06:50:08 +03:00

Fix --without-debug build

Broken in commit 2cc93f77.

Fixes #354.
This commit is contained in:
Nick Wellnhofer 2022-03-09 22:36:51 +01:00
parent 5ffe2981b7
commit 8d06ccd479

View File

@ -33,7 +33,6 @@
#include <libxml/xpathInternals.h>
#include <libxml/pattern.h>
#include <libxml/schematron.h>
#include <libxml/debugXML.h>
#define SCHEMATRON_PARSE_OPTIONS XML_PARSE_NOENT
@ -1497,9 +1496,11 @@ xmlSchematronFormatReport(xmlSchematronValidCtxtPtr ctxt,
}
break;
}
case XPATH_BOOLEAN:
ret = xmlStrcat(ret, BAD_CAST xmlBoolToText(eval->boolval));
case XPATH_BOOLEAN: {
const char *str = eval->boolval ? "True" : "False";
ret = xmlStrcat(ret, BAD_CAST str);
break;
}
case XPATH_NUMBER: {
xmlChar *buf;
int size;