Re: [PATCH] ext4: Fix unused iterator variable warnings

From: Theodore Ts'o
Date: Fri Apr 28 2023 - 01:22:29 EST



On Thu, 20 Apr 2023 09:51:24 -0700, Nathan Chancellor wrote:
> When CONFIG_QUOTA is disabled, there are warnings around unused iterator
> variables:
>
> fs/ext4/super.c: In function 'ext4_put_super':
> fs/ext4/super.c:1262:13: error: unused variable 'i' [-Werror=unused-variable]
> 1262 | int i, err;
> | ^
> fs/ext4/super.c: In function '__ext4_fill_super':
> fs/ext4/super.c:5200:22: error: unused variable 'i' [-Werror=unused-variable]
> 5200 | unsigned int i;
> | ^
> cc1: all warnings being treated as errors
>
> [...]

Applied, thanks!

[1/1] ext4: Fix unused iterator variable warnings
commit: 5b3e67cadf469110068175fb1e088d9bebaa4d7c

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>