Fix: possible evaluation of garbage values in fini_validation_ctx()
[lttng-tools.git] / tests / regression / tools / mi / validate_xml.c
index e3c6350902d444dce687afdcd6a76fadb7705707..f875853477859e52dfa9779403c409a83bbba582 100644 (file)
@@ -163,7 +163,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.02303 seconds and 4 git commands to generate.