]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_pass_valgrind.c
ccanlint: keep separate array of compiled versions.
[ccan] / tools / ccanlint / tests / tests_pass_valgrind.c
index 64cb29e21c438ef8e1c59fd744188413b395a608..818143777e2571e934bc59e98d215a1b3bf7bfcf 100644 (file)
@@ -246,7 +246,7 @@ static void run_under_debugger_vg(struct manifest *m, struct score *score)
                                  concat(score,
                                         per_file_options(&tests_pass_valgrind,
                                                          first->file)),
-                                 first->file->compiled);
+                                 first->file->compiled[COMPILE_NORMAL]);
        if (system(command))
                doesnt_matter();
 }