diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_decoder.c | 2 | ||||
-rw-r--r-- | tests/test_vs_proto2.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_decoder.c b/tests/test_decoder.c index 0db3bfa..14d0e2d 100644 --- a/tests/test_decoder.c +++ b/tests/test_decoder.c @@ -165,6 +165,7 @@ upb_sflow_t startsubmsg(void *closure, upb_value fval) { } upb_flow_t endsubmsg(void *closure, upb_value fval) { + (void)fval; buffer_appendf(closure, "} "); return UPB_CONTINUE; } @@ -175,6 +176,7 @@ upb_sflow_t startseq(void *closure, upb_value fval) { } upb_flow_t endseq(void *closure, upb_value fval) { + (void)fval; buffer_appendf(closure, "] "); return UPB_CONTINUE; } diff --git a/tests/test_vs_proto2.cc b/tests/test_vs_proto2.cc index c43649c..53b2498 100644 --- a/tests/test_vs_proto2.cc +++ b/tests/test_vs_proto2.cc @@ -15,7 +15,7 @@ #include <stdlib.h> #include <google/protobuf/descriptor.h> #include <google/protobuf/wire_format_lite.h> -#include "upb/benchmarks/google_messages.pb.h" +#include "benchmarks/google_messages.pb.h" #include "upb/def.h" #include "upb/msg.h" #include "upb/pb/glue.h" |