X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fmi%2Fvalidate_xml.c;h=20171fea6e76e1566a63e24aeef3e0130e61445b;hb=345ed219918f4e6fe88b57a30ab22e1a590a6bf0;hp=e3c6350902d444dce687afdcd6a76fadb7705707;hpb=68270f0f604eefdc89583950a7cfa02fe7a0cab5;p=lttng-tools.git diff --git a/tests/regression/tools/mi/validate_xml.c b/tests/regression/tools/mi/validate_xml.c index e3c635090..20171fea6 100644 --- 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 */ -#define _GNU_SOURCE #include #include #include @@ -163,7 +162,7 @@ end: 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) {