Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQvtw-002NQf-1a for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 23:04:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vQvtv-00GtGF-0w for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 23:04:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQvtv-00GtG6-00 for pgsql-hackers@lists.postgresql.org; Wed, 03 Dec 2025 23:04:47 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vQvtt-002zwg-0c for pgsql-hackers@lists.postgresql.org; Wed, 03 Dec 2025 23:04:47 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-297d4a56f97so4376815ad.1 for ; Wed, 03 Dec 2025 15:04:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764803082; x=1765407882; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lgFStE5DgGxlQEBrZP7fKO5ci3H3iAKQ68lhiiE0dgA=; b=fnbGfd5jakHta1JleHMvqdiM1blmOSybTJpdYtVkYbsX5wZLDXb1QJJ+3BUdBGYWKl uloMPoP9PUsE+zhm1Vy4k+6hMfeF837YQjmqoZYvzNxkviAr6myYFZBeteR0afejYUyv U7k7CNw5dQz0Xs0sDr7yFu5FaKK0jp8GH8BN8BHiP4qj5Q+okyCr1tHVut2Mg79Icd+W 3oORq+Ka/oxDhuzhrgOz+MzlcLOPyWpqOtGDCx861Vi6cSQU+srOGjEQjKjfNqoRqjP+ ZpDfaQHnVOMBgjIw3Vw0f0LoYjJaTNNrqz6fG6hC268gyoJ3bHaP5GJ5izFG+a6cV91Y VyOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764803082; x=1765407882; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lgFStE5DgGxlQEBrZP7fKO5ci3H3iAKQ68lhiiE0dgA=; b=cb7DNU0ynltjt98DAA8GjNZrK/itL8M3xCI3FqSKcK6IDuUSs0z3gGNVWftf2XTIgU jxyrJvsXYSdJ1dK0X7r7A0ZQiwLyemeDjyTsZ5644gJVYrg4Ill1qP1AfBTpKpZ4TBLI Iyj9Ps6phnPpYS6Wn9MF7+AVQBUc2PcxPnRyIYSmVVZ0uaJglsRPXqKbRVD0Qxt/AFfg 47DPdyiIL8NaVPjE87JXEvpqlAjY405XkMvi035yeiqMkQjX3xE5Xfz6cgF2REtCTZLm 9SdVsTIo0baToetseTHEC7C2CseA63hAPv/ZTVwq84nWZSRoTxq0Kcfb724FMd+2+Flt 60qw== X-Forwarded-Encrypted: i=1; AJvYcCU5fn9e6Z1iwVzTIV+oxPY3UVJ1cvmNRxT0wAJHWR6B47zobvfT6EsW4bU38oQTMCrD/hEBadteL66PosKv@lists.postgresql.org X-Gm-Message-State: AOJu0Yy7vAx5BuA3cjF/X9J3UWHOi2KhVuH0D5YENfDLGWFCyvJlO4Vk +y7KnsTBeM5cAQLKBo8MsDnGxii6LZ3Epe4PxQcgy2kWi5tqirYU3e/CV3Qpuc9yWlk= X-Gm-Gg: ASbGnctYYxUvgiD4abv/X/mMCSP8Hqve/jRciZM4ZpBC49jAsHZxLJK9b5/s8LvNtGO n99EtusoRylo8AMtbM6orkit/gi5JwmnKUoruBUkrNhHL2CvtUJ0kLN4qYNkPypaXNGZDDqLYzo aS6kxvmGs10tBfkJf9lV8ABxc3PVq9tManPyWeIUfjz59v3bPVTBymm2FqdX3GBan0RVaYHvVcc eJgrFWPSgwTiHUc0ZqTURvCZscRrLIS/E1Y+eRPAkWzxAZzMNanL5wtiWwf03NLn9izmH5L2aiO aKycTKsLLZlWvmK5wYlRg6ymQjZT9Fz7fDVEt7ftTWgES3vUx0B960Gh5f9GPGCbjTwJJe6t/Qy /4HBP59xjbqwn6brMxRZPjRvEgP0Sb8eEjEnz9UcPU/fZt3/uIn6qLZxYO7Qbv4ExsdA4uy4msU Ohhei+QeRAvm5yQRf2uT0= X-Google-Smtp-Source: AGHT+IFZmTfLHI/BZB9Ez9IA3Hf0JfcQ/h3L+xXAbTKohDL9ZiDbFE5FPD/zbDCMGJTlAH0pnH2Uqw== X-Received: by 2002:a17:902:ef52:b0:24c:965a:f94d with SMTP id d9443c01a7336-29d6842a652mr43353415ad.46.1764803082499; Wed, 03 Dec 2025 15:04:42 -0800 (PST) Received: from smtpclient.apple ([45.32.121.103]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29bce40ab42sm194623875ad.5.2025.12.03.15.04.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Dec 2025 15:04:41 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: Cleanup shadows variable warnings, round 1 From: Chao Li In-Reply-To: Date: Thu, 4 Dec 2025 07:04:02 +0800 Cc: =?utf-8?Q?=C3=81lvaro_Herrera?= , Peter Eisentraut , Postgres hackers Content-Transfer-Encoding: quoted-printable Message-Id: <105E05F5-4BF1-459F-8012-94D90C75BE0F@gmail.com> References: <94ECEF6E-681B-40DF-8F6B-4CABE4CDB96A@gmail.com> <202512031432.cpvnk5irwygr@alvherre.pgsql> To: Peter Smith X-Mailer: Apple Mail (2.3826.700.81) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Dec 4, 2025, at 05:00, Peter Smith wrote: >=20 > On Thu, Dec 4, 2025 at 1:36=E2=80=AFAM =C3=81lvaro Herrera = wrote: >>=20 >> On 2025-Dec-03, Chao Li wrote: >>=20 >>> Unfortunately that doesn=E2=80=99t work for my compiler (clang on = MacOS), >>> that=E2=80=99s why I renamed =E2=80=9CI" to =E2=80=9Cu=E2=80=9D. >>=20 >> I think you're missing his point. He's suggesting to change not only >> this variable, but also the other uses of "i" in this function. >>=20 >=20 > Exactly. I should have posted the larger diff, as you did. Thanks for > clarifying. >=20 Sorry for misunderstanding you. I guess I read your message too quickly = yesterday. Will fix it in v4. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/