]> git.ozlabs.org Git - ccan/blobdiff - tools/configurator/configurator.c
aga: Annotate unused return values
[ccan] / tools / configurator / configurator.c
index 2139bcb2059267e9ebfe098831ee25d94c85fe8f..021fc0f9f183a711f67231625dc04da3c615440d 100644 (file)
@@ -317,6 +317,8 @@ static struct test tests[] = {
          "for(i = 0; i < 0; i++) {};\n"
          "return 0;\n",
          "-Werror -fopenmp" },
+       { "HAVE_VALGRIND_MEMCHECK_H", OUTSIDE_MAIN, NULL, NULL,
+         "#include <valgrind/memcheck.h>\n" },
 };
 
 static char *grab_fd(int fd)
@@ -495,7 +497,8 @@ static bool run_test(const char *cmd, struct test *test)
        fclose(outf);
 
        if (verbose > 1)
-               if (system("cat " INPUT_FILE) == -1);
+               if (system("cat " INPUT_FILE) == -1)
+                       ;
 
        newcmd = strdup(cmd);