Port: Remove _GNU_SOURCE, defined in config.h
[lttng-tools.git] / tests / regression / tools / mi / validate_xml.c
index e3c6350902d444dce687afdcd6a76fadb7705707..20171fea6e76e1566a63e24aeef3e0130e61445b 100644 (file)
@@ -22,7 +22,6 @@
   * argv[2] Path to the XML to be validated
   */
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <ctype.h>
 #include <stdio.h>
@@ -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) {
This page took 0.023551 seconds and 4 git commands to generate.