projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: enable -Wsuggest-attribute=format
[lttng-tools.git]
/
tests
/
utils
/
xml-utils
/
validate_xml.cpp
diff --git
a/tests/utils/xml-utils/validate_xml.cpp
b/tests/utils/xml-utils/validate_xml.cpp
index bb67e56e17edea75706b56c50ec072c49f2433be..56002ed7cd4769e7b1a3c83ed2fa106e2723352b 100644
(file)
--- a/
tests/utils/xml-utils/validate_xml.cpp
+++ b/
tests/utils/xml-utils/validate_xml.cpp
@@
-27,6
+27,8
@@
#include <lttng/lttng-error.h>
#include <common/macros.h>
#include <lttng/lttng-error.h>
#include <common/macros.h>
+#include <common/macros.h>
+
struct validation_ctx {
xmlSchemaParserCtxtPtr parser_ctx;
xmlSchemaPtr schema;
struct validation_ctx {
xmlSchemaParserCtxtPtr parser_ctx;
xmlSchemaPtr schema;
@@
-38,7
+40,7
@@
enum command_err_code {
CMD_ERROR
};
CMD_ERROR
};
-static
+static
ATTR_FORMAT_PRINTF(2, 3)
void xml_error_handler(void *ctx, const char *format, ...)
{
char *err_msg;
void xml_error_handler(void *ctx, const char *format, ...)
{
char *err_msg;
This page took
0.022952 seconds
and
4
git commands to generate.