Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12956736rwl; Wed, 4 Jan 2023 01:07:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXvs35icGkltWhDf5TahBQYeMjzoID/1kL3s7syqd8ELPBkV/n0Pz5CltO6q1TWZoMU6VjZF X-Received: by 2002:a05:6402:8d9:b0:462:8a68:1398 with SMTP id d25-20020a05640208d900b004628a681398mr53874099edz.1.1672823250805; Wed, 04 Jan 2023 01:07:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672823250; cv=none; d=google.com; s=arc-20160816; b=soHLLxEL/Hpzo9sxl1RRyUmNcUgeeKtwBC3w6b3v8VzRSiiaTbghv64E0/KzKpgygv AB2/hZ6HXGio/UplOvgkJK5UTX4JpLS1pX1P3k2H6gHB+goQloTiYP5iuy9aPhA6LKed 2moxrqWR2EBXV347xbOGaSlDm2SrfiQOH/4lpsbrXOIXNGjfMxEpzoK5nEMF4jepUy/4 6AN1+1DJ2UVACGeUzpBStQKXKZp0OLWbIlEQnk8bxDNPSVLH/9KglDCsiTBPGuayjgR1 CJXokOft/KDH0ubcbZz517SlFwUYXJCaiPl4EYEjMIKFaO2QogO6UM8Y2KSPrbsato+J p3ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Z87wofSFYuk+a5vQ9RmLUUxWyiJNfLImiMddK90M50k=; b=vP25JUGtTqBxWs4kvh5JR+Xl1eHs6uDEAbNYEVZAjj48pibvKCPuW6FH7zQhMuhShi WziSo1OFsMHtYhLgAYApBBWNHhMPKHfESXkA4875TnW6KUxz/l0aYH7HZ+vw9UOrKdJf TmAe5P0RGqZOv9x1FBzPVhAt7CGnbrp97YqD2E+uj0NFsX+Vns1Jct3o45pCTeLzkq+2 DjVgJdwWRSgARpI5Bhfi8Dd/1XQAeZfwaOR97akhcsON0xLSxm6CyR2tW3t4d9TreTCK ab5kFjbmsO+mduLe75uo1q224wXelcWwL6YRsK0kBjw6NMrR/2uc0FW/C4Pu8itPqZfz O8xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qjqK0iVK; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t1-20020a056402524100b0048c5bad4658si2464795edd.234.2023.01.04.01.07.07; Wed, 04 Jan 2023 01:07:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qjqK0iVK; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233905AbjADJDn (ORCPT + 99 others); Wed, 4 Jan 2023 04:03:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233859AbjADJD3 (ORCPT ); Wed, 4 Jan 2023 04:03:29 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5C9B15F2A for ; Wed, 4 Jan 2023 01:03:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 74570615F7 for ; Wed, 4 Jan 2023 09:03:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3DECC433D2; Wed, 4 Jan 2023 09:03:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672822998; bh=IBRh2ipcWVWg09S9BWqomTqx71XgiCEBxdpbpMDtH1I=; h=From:To:Cc:Subject:Date:From; b=qjqK0iVK3EGLGl96nDeQfFt4Zd7fSvZDD9+/ZoKLIOxwckovbhWehpyuKEsgYjGXD n+eJTx8FDczeWsss5alLkR/JVo+YbaYAaXE7o8UAPlX0T+oUPUBNrJkTmHQI7GYiiH rkIo243mkVqYgspqFDEshHlPrxvGiDkFZ+nP8hcCT9mTuFiUoue299T4mnwLcDA0zl ozcBDnS3HBAcFNIw050ExREWMPAtucjdmU/26hCjRDmVhzar6wzbhTOS1eL1oXP1T3 n5GnVIrGpU4ea32pp44GeHyyaqoCSjQRygOfIUIjoIs6wZFObrPkwKVTbtpT/BP4DC v/HItsBcC1iWw== From: Eric Biggers To: linux-ext4@vger.kernel.org Cc: Andreas Dilger Subject: [e2fsprogs PATCH] libext2fs: remove unused variable in ext2fs_xattrs_read_inode() Date: Wed, 4 Jan 2023 01:03:14 -0800 Message-Id: <20230104090314.276028-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Eric Biggers Address the following compiler warning with gcc -Wall: ext_attr.c: In function ‘ext2fs_xattrs_read_inode’: ext_attr.c:1000:16: warning: unused variable ‘i’ [-Wunused-variable] 1000 | size_t i; | ^ Cc: Andreas Dilger Signed-off-by: Eric Biggers --- lib/ext2fs/ext_attr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ext2fs/ext_attr.c b/lib/ext2fs/ext_attr.c index d36fe68d..6fc4214c 100644 --- a/lib/ext2fs/ext_attr.c +++ b/lib/ext2fs/ext_attr.c @@ -997,7 +997,6 @@ errcode_t ext2fs_xattrs_read_inode(struct ext2_xattr_handle *handle, unsigned int storage_size; char *start, *block_buf = NULL; blk64_t blk; - size_t i; errcode_t err = 0; EXT2_CHECK_MAGIC(handle, EXT2_ET_MAGIC_EA_HANDLE); -- 2.39.0