Skip to content

Commit 5c8289d

Browse files
committed
chore: fix -Wshadow error in uvwasi.c
1 parent 0427f19 commit 5c8289d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uvwasi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2806,7 +2806,7 @@ uvwasi_errno_t uvwasi_sock_accept(uvwasi_t* uvwasi,
28062806
goto close_sock_and_error_exit;
28072807
}
28082808

2809-
int r = uv_accept((uv_stream_t*) wrap->sock, (uv_stream_t*) uv_connect_sock);
2809+
r = uv_accept((uv_stream_t*) wrap->sock, (uv_stream_t*) uv_connect_sock);
28102810
if (r == UV_EAGAIN) {
28112811
// still no connection or error so run the loop again
28122812
continue;

0 commit comments

Comments
 (0)