Skip to content

Commit 6613d7b

Browse files
committed
Fixed warnings
1 parent 6adf130 commit 6613d7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3482,11 +3482,12 @@ TEST(SSLClientServerTest, SSLConnectTimeout) {
34823482

34833483
bool stop_;
34843484
private:
3485-
bool process_and_close_socket(socket_t sock) override {
3485+
bool process_and_close_socket(socket_t /*sock*/) override {
34863486
// Don't create SSL context
34873487
while (!stop_) {
34883488
std::this_thread::sleep_for(std::chrono::milliseconds(100));
34893489
}
3490+
return true;
34903491
}
34913492
};
34923493
NoListenSSLServer svr(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE, CLIENT_CA_CERT_FILE);

0 commit comments

Comments
 (0)