projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for '-Wunused-parameter'
[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 fa8b2cc9d5d524995e91f8b7837eae29c8cb3c2b..8e30100c0bcf5cd2f11e249d7f3a259d856a61f1 100644
(file)
--- a/
tests/utils/xml-utils/validate_xml.cpp
+++ b/
tests/utils/xml-utils/validate_xml.cpp
@@
-41,7
+41,8
@@
enum command_err_code {
};
static ATTR_FORMAT_PRINTF(2, 3)
};
static ATTR_FORMAT_PRINTF(2, 3)
-void xml_error_handler(void *ctx, const char *format, ...)
+void xml_error_handler(void *ctx __attribute__((unused)),
+ const char *format, ...)
{
char *err_msg;
va_list args;
{
char *err_msg;
va_list args;
@@
-150,7
+151,7
@@
end:
}
}
-int main(int argc, char **argv
, char *env[]
)
+int main(int argc, char **argv)
{
int ret;
struct validation_ctx ctx = { 0 };
{
int ret;
struct validation_ctx ctx = { 0 };
This page took
0.039786 seconds
and
4
git commands to generate.