Skip to content

Commit 0ae88c1

Browse files
authored
Minor consistency fix
1 parent 32c0256 commit 0ae88c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clickhouse/base/socket.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,10 @@ SOCKET SocketConnect(const NetworkAddress& addr) {
304304

305305
ssize_t Poll(struct pollfd* fds, int nfds, int timeout) noexcept {
306306
#if defined(_win_)
307-
int rval = WSAPoll(fds, nfds, timeout);
307+
return WSAPoll(fds, nfds, timeout);
308308
#else
309309
return poll(fds, nfds, timeout);
310310
#endif
311-
return rval;
312311
}
313312

314313
}

0 commit comments

Comments
 (0)