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.
This commit is contained in:
parent
2fcf3c64c8
commit
ca18b09f26
|
@ -74,9 +74,7 @@ AC_DEFUN([ZUUL_CANONICAL_TARGET],[
|
||||||
|
|
||||||
PANDORA_HEADER_ASSERT
|
PANDORA_HEADER_ASSERT
|
||||||
|
|
||||||
# Enable PANDORA_WARNINGS once there is C++ code that's not generated, if
|
PANDORA_WARNINGS(PCT_ALL_ARGS)
|
||||||
# that's ever a time
|
|
||||||
dnl PANDORA_WARNINGS(PCT_ALL_ARGS)
|
|
||||||
|
|
||||||
PANDORA_ENABLE_DTRACE
|
PANDORA_ENABLE_DTRACE
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ using json = nlohmann::json;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int, char**)
|
||||||
{
|
{
|
||||||
json j;
|
json j;
|
||||||
j["pi"] = 3.14;
|
j["pi"] = 3.14;
|
||||||
|
|
Loading…
Reference in New Issue