Browse Source

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.
changes/91/636791/1
Monty Taylor 3 months ago
parent
commit
ca18b09f26
2 changed files with 2 additions and 4 deletions
  1. 1
    3
      m4/zuul_canonical.m4
  2. 1
    1
      zuul-preview/main.cc

+ 1
- 3
m4/zuul_canonical.m4 View File

@@ -74,9 +74,7 @@ AC_DEFUN([ZUUL_CANONICAL_TARGET],[
74 74
 
75 75
   PANDORA_HEADER_ASSERT
76 76
 
77
-  # Enable PANDORA_WARNINGS once there is C++ code that's not generated, if
78
-  # that's ever a time
79
-  dnl PANDORA_WARNINGS(PCT_ALL_ARGS)
77
+  PANDORA_WARNINGS(PCT_ALL_ARGS)
80 78
 
81 79
   PANDORA_ENABLE_DTRACE
82 80
 

+ 1
- 1
zuul-preview/main.cc View File

@@ -29,7 +29,7 @@ using json = nlohmann::json;
29 29
 using namespace std;
30 30
 
31 31
 
32
-int main(int argc, char **argv)
32
+int main(int, char**)
33 33
 {
34 34
   json j;
35 35
   j["pi"] = 3.14;

Loading…
Cancel
Save