unix, windows: remove unused variables

This commit is contained in:
Brian White 2013-07-24 17:12:29 -04:00 committed by Ben Noordhuis
parent 7e68e6d895
commit c021ee0795
2 changed files with 0 additions and 3 deletions

View File

@ -782,7 +782,6 @@ int uv__tcp_connect6(uv_connect_t* req,
int uv_tcp_getsockname(uv_tcp_t* handle, struct sockaddr* name,
int* namelen) {
uv_loop_t* loop = handle->loop;
int result;
if (!(handle->flags & UV_HANDLE_BOUND)) {
@ -804,7 +803,6 @@ int uv_tcp_getsockname(uv_tcp_t* handle, struct sockaddr* name,
int uv_tcp_getpeername(uv_tcp_t* handle, struct sockaddr* name,
int* namelen) {
uv_loop_t* loop = handle->loop;
int result;
if (!(handle->flags & UV_HANDLE_BOUND)) {

View File

@ -38,7 +38,6 @@ static char uv_zero_[] = "";
int uv_udp_getsockname(uv_udp_t* handle, struct sockaddr* name,
int* namelen) {
uv_loop_t* loop = handle->loop;
int result;
if (!(handle->flags & UV_HANDLE_BOUND)) {