projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tests: skip tests on static build
[lttng-tools.git]
/
tests
/
regression
/
tools
/
mi
/
validate_xml.c
diff --git
a/tests/regression/tools/mi/validate_xml.c
b/tests/regression/tools/mi/validate_xml.c
index e3c6350902d444dce687afdcd6a76fadb7705707..20171fea6e76e1566a63e24aeef3e0130e61445b 100644
(file)
--- a/
tests/regression/tools/mi/validate_xml.c
+++ b/
tests/regression/tools/mi/validate_xml.c
@@
-22,7
+22,6
@@
* argv[2] Path to the XML to be validated
*/
* argv[2] Path to the XML to be validated
*/
-#define _GNU_SOURCE
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
@@
-163,7
+162,7
@@
end:
int main(int argc, char **argv, char *env[])
{
int ret;
int main(int argc, char **argv, char *env[])
{
int ret;
- struct validation_ctx ctx;
+ struct validation_ctx ctx
= { 0 }
;
/* Check if we have all argument */
if (argc < 3) {
/* Check if we have all argument */
if (argc < 3) {
This page took
0.027106 seconds
and
4
git commands to generate.