From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Shelley Vohr <shelley.vohr@gmail.com>
Date: Fri, 8 Dec 2023 18:05:28 +0100
Subject: fix: -Wshadow error in uvwasi.c

Refs https://github.com/nodejs/node/pull/49908

Fixes a -Wshadow error in uvwasi.c. This should be upstreamed.

diff --git a/deps/uvwasi/src/uvwasi.c b/deps/uvwasi/src/uvwasi.c
index e904b9f9293864db02f660dc3c9737f0e3684355..3e9cce85cae109ffc09f6b86ab5e896620b862d8 100644
--- a/deps/uvwasi/src/uvwasi.c
+++ b/deps/uvwasi/src/uvwasi.c
@@ -2794,13 +2794,13 @@ uvwasi_errno_t uvwasi_sock_accept(uvwasi_t* uvwasi,
         goto close_sock_and_error_exit;
       }
 
-      int r = uv_accept((uv_stream_t*) wrap->sock, (uv_stream_t*) uv_connect_sock);
-      if (r == UV_EAGAIN) {
+      int rr = uv_accept((uv_stream_t*) wrap->sock, (uv_stream_t*) uv_connect_sock);
+      if (rr == UV_EAGAIN) {
 	// still no connection or error so run the loop again
         continue;
       }
 
-      if (r != 0) {
+      if (rr != 0) {
 	// An error occurred accepting the connection. Break out of the loop and
 	// report an error.
         err = uvwasi__translate_uv_error(r);
