Skip to content

Commit 175a243

Browse files
committed
Fix clang warnings
1 parent 4e9e57b commit 175a243

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/cpp/interop/interop_client.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ bool InteropClient::DoMcsConnectionScaling() {
13841384
return TransientFailureOrAbort();
13851385
}
13861386
std::string clientSocketAddressInCall1 = response1.client_socket_address();
1387-
GRPC_CHECK(clientSocketAddressInCall1.length() > 0);
1387+
GRPC_CHECK(!clientSocketAddressInCall1.empty());
13881388

13891389
VLOG(2) << "Sending Mcs connection scaling streaming rpc2 ...";
13901390

@@ -1426,6 +1426,7 @@ bool InteropClient::DoMcsConnectionScaling() {
14261426
return TransientFailureOrAbort();
14271427
}
14281428
std::string clientSocketAddressInCall3 = response3.client_socket_address();
1429+
GRPC_CHECK(!clientSocketAddressInCall3.empty());
14291430

14301431
// A new connection should have been used for the 3rd stream.
14311432
GRPC_CHECK(clientSocketAddressInCall3 != clientSocketAddressInCall1);

0 commit comments

Comments
 (0)