aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/15 if
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-09-05 14:41:33 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-11-17 13:24:42 +0200
commit1baa1c92220d23a91337e8aa1e174c66f7fd0531 (patch)
treee46796919bce6bbc5408bbca0b23d5bf7d3d2fc0 /test cases/common/15 if
parentc6f93b6bf67500c963cdaa33b0500ea1a15232b0 (diff)
downloadmeson-1baa1c92220d23a91337e8aa1e174c66f7fd0531.zip
meson-1baa1c92220d23a91337e8aa1e174c66f7fd0531.tar.gz
meson-1baa1c92220d23a91337e8aa1e174c66f7fd0531.tar.bz2
use '-Werror=unused-parameter' for gcc/clang on project tests and -fimplicit-none on fortran
Fortran: check for undeclared variables by forcing implicit none everywhere C/C++: check for unused parameters and return types removed unused variables from test cases ci: do missing return and unused arg check with Github Actions
Diffstat (limited to 'test cases/common/15 if')
-rw-r--r--test cases/common/15 if/prog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/15 if/prog.c b/test cases/common/15 if/prog.c
index 0314ff1..76e8197 100644
--- a/test cases/common/15 if/prog.c
+++ b/test cases/common/15 if/prog.c
@@ -1 +1 @@
-int main(int argc, char **argv) { return 0; }
+int main() { return 0; }