* node;b;
* node;c;
*/
-#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
xmlNodePtr cur;
xmlChar *node_child_value_string = NULL;
- assert(output);
+ LTTNG_ASSERT(output);
size = (nodes) ? nodes->nodeNr : 0;
for (i = 0; i < size; ++i) {
- assert(nodes->nodeTab[i]);
+ LTTNG_ASSERT(nodes->nodeTab[i]);
if (nodes->nodeTab[i]->type == XML_NAMESPACE_DECL) {
fprintf(stderr, "ERR:%s\n",
xmlXPathContextPtr xpathCtx = NULL;
xmlXPathObjectPtr xpathObj = NULL;
- assert(xml_path);
- assert(xpath);
+ LTTNG_ASSERT(xml_path);
+ LTTNG_ASSERT(xpath);
/* Parse the xml file */
doc = xmlParseFile(xml_path);