Fix unused variable error (#27006)

This does not build on Android when warning-as-error compiler option is
enabled.
pull/27110/head
Ming-Chuan 3 years ago committed by GitHub
parent 152b79144c
commit 6465781b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc

@ -24,10 +24,10 @@
#include "src/core/lib/iomgr/tcp_server_utils_posix.h"
grpc_error_handle grpc_tcp_server_add_all_local_addrs(grpc_tcp_server* s,
unsigned port_index,
int requested_port,
int* out_port) {
grpc_error_handle grpc_tcp_server_add_all_local_addrs(grpc_tcp_server* /*s*/,
unsigned /*port_index*/,
int /*requested_port*/,
int* /*out_port*/) {
return GRPC_ERROR_CREATE_FROM_STATIC_STRING("no ifaddrs available");
}

Loading…
Cancel
Save