File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ using google::protobuf::util::BinaryToJsonString;
98
98
using google::protobuf::util::JsonToBinaryString;
99
99
using google::protobuf::util::MessageDifferencer;
100
100
using google::protobuf::util::NewTypeResolverForDescriptorPool;
101
- using google::protobuf::util::Status;
102
101
using google::protobuf::util::TypeResolver;
103
102
using std::cerr;
104
103
using std::endl;
@@ -148,12 +147,14 @@ void Harness::run() {
148
147
// Exercise JSON serialization.
149
148
auto json = measure_subtask("Encode JSON", [&]() {
150
149
string out_json;
151
- BinaryToJsonString(type_resolver, *type_url, data, &out_json);
150
+ auto r = BinaryToJsonString(type_resolver, *type_url, data, &out_json);
151
+ (void)r; // UNUSED
152
152
return out_json;
153
153
});
154
154
auto decoded_binary = measure_subtask("Decode JSON", [&]() {
155
155
string out_binary;
156
- JsonToBinaryString(type_resolver, *type_url, json, &out_binary);
156
+ auto r = JsonToBinaryString(type_resolver, *type_url, json, &out_binary);
157
+ (void)r; // UNUSED
157
158
return out_binary;
158
159
});
159
160
You can’t perform that action at this time.
0 commit comments