Merge pull request #20702 from vjpai/more_cpp_warning_removals_201910210916_16
Remove unused-parameter warnings, round 2 (16 of 19)
This commit is contained in:
commit
6fbdcea076
|
|
@ -83,7 +83,7 @@ static void end_test(grpc_end2end_test_fixture* f) {
|
|||
grpc_completion_queue_destroy(f->shutdown_cq);
|
||||
}
|
||||
|
||||
static void simple_request_body(grpc_end2end_test_config config,
|
||||
static void simple_request_body(grpc_end2end_test_config /*config*/,
|
||||
grpc_end2end_test_fixture f) {
|
||||
grpc_call* c;
|
||||
grpc_call* s;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ static void drain_cq(grpc_completion_queue* cq) {
|
|||
} while (ev.type != GRPC_QUEUE_SHUTDOWN);
|
||||
}
|
||||
|
||||
static void simple_request_body(grpc_end2end_test_config config,
|
||||
static void simple_request_body(grpc_end2end_test_config /*config*/,
|
||||
grpc_end2end_test_fixture* f) {
|
||||
grpc_call* c;
|
||||
grpc_call* s;
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ static void end_test(grpc_end2end_test_fixture* f) {
|
|||
grpc_completion_queue_destroy(f->shutdown_cq);
|
||||
}
|
||||
|
||||
static void simple_request_body(grpc_end2end_test_config config,
|
||||
static void simple_request_body(grpc_end2end_test_config /*config*/,
|
||||
grpc_end2end_test_fixture f, size_t num_ops) {
|
||||
grpc_call* c;
|
||||
cq_verifier* cqv = cq_verifier_create(f.cq);
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ static grpc_slice generate_random_slice() {
|
|||
return out;
|
||||
}
|
||||
|
||||
static void request_response_with_payload(grpc_end2end_test_config config,
|
||||
static void request_response_with_payload(grpc_end2end_test_config /*config*/,
|
||||
grpc_end2end_test_fixture f) {
|
||||
/* Create large request and response bodies. These are big enough to require
|
||||
* multiple round trips to deliver to the peer, and their exact contents of
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ static void end_test(grpc_end2end_test_fixture* f) {
|
|||
grpc_completion_queue_destroy(f->shutdown_cq);
|
||||
}
|
||||
|
||||
static void simple_request_body(grpc_end2end_test_config config,
|
||||
static void simple_request_body(grpc_end2end_test_config /*config*/,
|
||||
grpc_end2end_test_fixture f) {
|
||||
grpc_call* c;
|
||||
grpc_call* s;
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ static void end_test(grpc_end2end_test_fixture* f) {
|
|||
grpc_completion_queue_destroy(f->shutdown_cq);
|
||||
}
|
||||
|
||||
static void simple_request_body(grpc_end2end_test_config config,
|
||||
static void simple_request_body(grpc_end2end_test_config /*config*/,
|
||||
grpc_end2end_test_fixture f, void* rc) {
|
||||
grpc_call* c;
|
||||
grpc_call* s;
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ static void end_test(grpc_end2end_test_fixture* f) {
|
|||
grpc_completion_queue_destroy(f->shutdown_cq);
|
||||
}
|
||||
|
||||
static void simple_request_body(grpc_end2end_test_config config,
|
||||
static void simple_request_body(grpc_end2end_test_config /*config*/,
|
||||
grpc_end2end_test_fixture f) {
|
||||
grpc_call* c;
|
||||
grpc_call* s;
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ static void simple_delayed_request_body(grpc_end2end_test_config config,
|
|||
grpc_end2end_test_fixture* f,
|
||||
grpc_channel_args* client_args,
|
||||
grpc_channel_args* server_args,
|
||||
long delay_us) {
|
||||
long /*delay_us*/) {
|
||||
grpc_call* c;
|
||||
grpc_call* s;
|
||||
cq_verifier* cqv = cq_verifier_create(f->cq);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
static void* fake_malloc(size_t size) { return (void*)size; }
|
||||
|
||||
static void* fake_realloc(void* addr, size_t size) { return (void*)size; }
|
||||
static void* fake_realloc(void* /*addr*/, size_t size) { return (void*)size; }
|
||||
|
||||
static void fake_free(void* addr) {
|
||||
*(static_cast<intptr_t*>(addr)) = static_cast<intptr_t>(0xdeadd00d);
|
||||
|
|
|
|||
|
|
@ -131,6 +131,6 @@ int main(int argc, char** argv) {
|
|||
|
||||
#else /* GRPC_LINUX_ERRQUEUE */
|
||||
|
||||
int main(int argc, char** argv) { return 0; }
|
||||
int main(int /*argc*/, char** /*argv*/) { return 0; }
|
||||
|
||||
#endif /* GRPC_LINUX_ERRQUEUE */
|
||||
|
|
|
|||
Loading…
Reference in New Issue