Merge pull request #20656 from vjpai/remove_warn_5

Remove unused parameter warnings (5 of 20)
reviewable/pr18856/r15^2
Vijay Pai 5 years ago committed by GitHub
commit 7c61a570ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/end2end/fixtures/h2_fd.cc
  2. 2
      test/core/end2end/fixtures/h2_full+pipe.cc
  3. 2
      test/core/end2end/fixtures/h2_full+trace.cc
  4. 2
      test/core/end2end/fixtures/h2_full+workarounds.cc
  5. 2
      test/core/end2end/fixtures/h2_full.cc
  6. 2
      test/core/end2end/fixtures/h2_http_proxy.cc
  7. 2
      test/core/end2end/fixtures/h2_local_ipv4.cc
  8. 2
      test/core/end2end/fixtures/h2_local_ipv6.cc
  9. 2
      test/core/end2end/fixtures/h2_local_uds.cc
  10. 4
      test/core/end2end/fixtures/h2_oauth2.cc

@ -51,7 +51,7 @@ static void create_sockets(int sv[2]) {
}
static grpc_end2end_test_fixture chttp2_create_fixture_socketpair(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* /*client_args*/, grpc_channel_args* /*server_args*/) {
sp_fixture_data* fixture_data =
static_cast<sp_fixture_data*>(gpr_malloc(sizeof(*fixture_data)));

@ -45,7 +45,7 @@ struct fullstack_fixture_data {
};
static grpc_end2end_test_fixture chttp2_create_fixture_fullstack(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* /*client_args*/, grpc_channel_args* /*server_args*/) {
grpc_end2end_test_fixture f;
int port = grpc_pick_unused_port_or_die();
fullstack_fixture_data* ffd = grpc_core::New<fullstack_fixture_data>();

@ -45,7 +45,7 @@ struct fullstack_fixture_data {
};
static grpc_end2end_test_fixture chttp2_create_fixture_fullstack(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* /*client_args*/, grpc_channel_args* /*server_args*/) {
grpc_end2end_test_fixture f;
int port = grpc_pick_unused_port_or_die();
fullstack_fixture_data* ffd = grpc_core::New<fullstack_fixture_data>();

@ -44,7 +44,7 @@ struct fullstack_fixture_data {
};
static grpc_end2end_test_fixture chttp2_create_fixture_fullstack(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* /*client_args*/, grpc_channel_args* /*server_args*/) {
grpc_end2end_test_fixture f;
int port = grpc_pick_unused_port_or_die();
fullstack_fixture_data* ffd = grpc_core::New<fullstack_fixture_data>();

@ -39,7 +39,7 @@ struct fullstack_fixture_data {
};
static grpc_end2end_test_fixture chttp2_create_fixture_fullstack(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* /*client_args*/, grpc_channel_args* /*server_args*/) {
grpc_end2end_test_fixture f;
int port = grpc_pick_unused_port_or_die();
fullstack_fixture_data* ffd = grpc_core::New<fullstack_fixture_data>();

@ -44,7 +44,7 @@ struct fullstack_fixture_data {
};
static grpc_end2end_test_fixture chttp2_create_fixture_fullstack(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* client_args, grpc_channel_args* /*server_args*/) {
grpc_end2end_test_fixture f;
memset(&f, 0, sizeof(f));
fullstack_fixture_data* ffd = grpc_core::New<fullstack_fixture_data>();

@ -27,7 +27,7 @@
#include "test/core/util/test_config.h"
static grpc_end2end_test_fixture chttp2_create_fixture_fullstack_ipv4(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* /*client_args*/, grpc_channel_args* /*server_args*/) {
grpc_end2end_test_fixture f =
grpc_end2end_local_chttp2_create_fixture_fullstack();
int port = grpc_pick_unused_port_or_die();

@ -27,7 +27,7 @@
#include "test/core/util/test_config.h"
static grpc_end2end_test_fixture chttp2_create_fixture_fullstack_ipv6(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* /*client_args*/, grpc_channel_args* /*server_args*/) {
grpc_end2end_test_fixture f =
grpc_end2end_local_chttp2_create_fixture_fullstack();
int port = grpc_pick_unused_port_or_die();

@ -27,7 +27,7 @@
static int unique = 1;
static grpc_end2end_test_fixture chttp2_create_fixture_fullstack_uds(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* /*client_args*/, grpc_channel_args* /*server_args*/) {
grpc_end2end_test_fixture f =
grpc_end2end_local_chttp2_create_fixture_fullstack();
char* out = nullptr;

@ -76,7 +76,7 @@ static void process_oauth2_success(void* state, grpc_auth_context* ctx,
cb(user_data, oauth2, 1, nullptr, 0, GRPC_STATUS_OK, nullptr);
}
static void process_oauth2_failure(void* state, grpc_auth_context* ctx,
static void process_oauth2_failure(void* state, grpc_auth_context* /*ctx*/,
const grpc_metadata* md, size_t md_count,
grpc_process_auth_metadata_done_cb cb,
void* user_data) {
@ -91,7 +91,7 @@ static void process_oauth2_failure(void* state, grpc_auth_context* ctx,
}
static grpc_end2end_test_fixture chttp2_create_fixture_secure_fullstack(
grpc_channel_args* client_args, grpc_channel_args* server_args) {
grpc_channel_args* /*client_args*/, grpc_channel_args* /*server_args*/) {
grpc_end2end_test_fixture f;
int port = grpc_pick_unused_port_or_die();
fullstack_secure_fixture_data* ffd =

Loading…
Cancel
Save