summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2019-02-09 16:08:41 +0000
committerMonty Taylor <mordred@inaugust.com>2019-02-09 16:08:41 +0000
commitca18b09f26bbb7bdc5ac5d49635749788c403a57 (patch)
treec2b838e64163ea994947b59e385da123cb0d3ef9
parent2fcf3c64c8467aeff5cf196f02760699d31fdeca (diff)
Fix warnings in build
These had been turned off in oaktree because of protobuf. Turn them back on. And then fix the unused parameter issue.
-rw-r--r--m4/zuul_canonical.m44
-rw-r--r--zuul-preview/main.cc2
2 files changed, 2 insertions, 4 deletions
diff --git a/m4/zuul_canonical.m4 b/m4/zuul_canonical.m4
index 51fe459..da0a5c2 100644
--- a/m4/zuul_canonical.m4
+++ b/m4/zuul_canonical.m4
@@ -74,9 +74,7 @@ AC_DEFUN([ZUUL_CANONICAL_TARGET],[
74 74
75 PANDORA_HEADER_ASSERT 75 PANDORA_HEADER_ASSERT
76 76
77 # Enable PANDORA_WARNINGS once there is C++ code that's not generated, if 77 PANDORA_WARNINGS(PCT_ALL_ARGS)
78 # that's ever a time
79 dnl PANDORA_WARNINGS(PCT_ALL_ARGS)
80 78
81 PANDORA_ENABLE_DTRACE 79 PANDORA_ENABLE_DTRACE
82 80
diff --git a/zuul-preview/main.cc b/zuul-preview/main.cc
index e43512e..5b7dc5b 100644
--- a/zuul-preview/main.cc
+++ b/zuul-preview/main.cc
@@ -29,7 +29,7 @@ using json = nlohmann::json;
29using namespace std; 29using namespace std;
30 30
31 31
32int main(int argc, char **argv) 32int main(int, char**)
33{ 33{
34 json j; 34 json j;
35 j["pi"] = 3.14; 35 j["pi"] = 3.14;