Remove unused-parameter warnings, round 2 (16 of 19)

pull/20702/head
Vijay Pai 5 years ago
parent 2d80e830c0
commit d469403b6e
  1. 2
      test/core/end2end/tests/max_concurrent_streams.cc
  2. 2
      test/core/end2end/tests/max_connection_idle.cc
  3. 2
      test/core/end2end/tests/negative_deadline.cc
  4. 2
      test/core/end2end/tests/payload.cc
  5. 2
      test/core/end2end/tests/proxy_auth.cc
  6. 2
      test/core/end2end/tests/registered_call.cc
  7. 2
      test/core/end2end/tests/server_finishes_request.cc
  8. 2
      test/core/end2end/tests/simple_delayed_request.cc
  9. 2
      test/core/gpr/alloc_test.cc
  10. 2
      test/core/iomgr/buffer_list_test.cc

@ -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…
Cancel
Save