commit | f7407e2275318900dfed41faeec28003ff6ecd5a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sat Mar 28 10:51:23 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Sat Mar 28 10:51:23 2015 -0700 |
tree | 59fabcbe52eff54730c9448b3f3f6e8b205adcc2 | |
parent | caea5472f8d5fa388c9b1761a593b25f1e6f907d [diff] |
Fix clang build by removing unused locals. Also don't manually set FD_CLOEXEC on a socket that's always opened with SOCK_CLOEXEC. (None of the other callers to the function do this.) Also move locals to where they're first used to help prevent more of this kind of breakage. Change-Id: I1ba7cd9400f53508dffb51a2bbf9d491ae647f26