projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
folly/io/async/AsyncSocket.cpp: avoid shadowing warning for "rv"
[folly.git]
/
folly
/
io
/
async
/
AsyncSocket.cpp
diff --git
a/folly/io/async/AsyncSocket.cpp
b/folly/io/async/AsyncSocket.cpp
index bb41685dd3d3fb5a70befadf68cec62cc25d3597..b1bbba24120eb59fb86c3fbda6b30848b05d0c9c 100644
(file)
--- a/
folly/io/async/AsyncSocket.cpp
+++ b/
folly/io/async/AsyncSocket.cpp
@@
-418,7
+418,7
@@
void AsyncSocket::connect(ConnectCallback* callback,
// Apply the additional options if any.
for (const auto& opt: options) {
-
int
rv = opt.first.apply(fd_, opt.second);
+ rv = opt.first.apply(fd_, opt.second);
if (rv != 0) {
auto errnoCopy = errno;
throw AsyncSocketException(