commit | 747383649c28198457aa2cbb5b93743fac837f06 | [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 | 5db3936dbe6fa73d45ab0f02b7166f43680084d3 [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