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 '-Wmissing-field-initializers'
[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 56002ed7cd4769e7b1a3c83ed2fa106e2723352b..92f08f203221458b5c1dce0250ce9162fa34db58 100644
(file)
--- a/
tests/utils/xml-utils/validate_xml.cpp
+++ b/
tests/utils/xml-utils/validate_xml.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2014
Jonathan Rajotte <jonathan.r.julien@gmail.com>
+ * Copyright (C) 2014
EfficiOS Inc.
*
* SPDX-License-Identifier: LGPL-2.1-only
*
*
* SPDX-License-Identifier: LGPL-2.1-only
*
@@
-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,10
+151,10
@@
end:
}
}
-int main(int argc, char **argv
, char *env[]
)
+int main(int argc, char **argv)
{
int ret;
{
int ret;
- struct validation_ctx ctx = {
0
};
+ struct validation_ctx ctx = {};
/* Check if we have all argument */
if (argc < 3) {
/* Check if we have all argument */
if (argc < 3) {
This page took
0.024055 seconds
and
4
git commands to generate.