From 45bc175ef9278c175d2fc3a0678b49b18e74c449 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 14 Feb 2018 14:50:04 -0800 Subject: fixes #234 Investigate enabling more verbose compiler warnings We enabled verbose compiler warnings, and found a lot of issues. Some of these were even real bugs. As a bonus, we actually save some initialization steps in the compat layer, and avoid passing some variables we don't need. --- tests/compat_bug777.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/compat_bug777.c') diff --git a/tests/compat_bug777.c b/tests/compat_bug777.c index 686b8181..ba4a8b02 100644 --- a/tests/compat_bug777.c +++ b/tests/compat_bug777.c @@ -25,7 +25,7 @@ #include "nng.h" #include "compat_testutil.h" -int main (int argc, const char *argv[]) +int main (NN_UNUSED int argc, NN_UNUSED const char *argv[]) { int sb; int sc1; -- cgit v1.2.3-70-g09d2