projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: apply suggested fixes
[lttng-tools.git]
/
tests
/
utils
/
xml-utils
/
extract_xml.cpp
diff --git
a/tests/utils/xml-utils/extract_xml.cpp
b/tests/utils/xml-utils/extract_xml.cpp
index 280f2ed0284b80736ce92485479c488ce75aad1b..2531d0832e0ea071db9ef10adc04fec9b6c0e0a2 100644
(file)
--- a/
tests/utils/xml-utils/extract_xml.cpp
+++ b/
tests/utils/xml-utils/extract_xml.cpp
@@
-180,7
+180,7
@@
static int extract_xpath(const char *xml_path, const xmlChar *xpath)
LTTNG_ASSERT(xml_path);
LTTNG_ASSERT(xpath);
- ll::parser_ctx_uptr parserCtx{ xmlNewParserCtxt() };
+
const
ll::parser_ctx_uptr parserCtx{ xmlNewParserCtxt() };
if (!parserCtx) {
fprintf(stderr, "ERR: could not allocate an XML parser context\n");
This page took
0.024515 seconds
and
4
git commands to generate.