From nobody Tue Apr 19 12:46:06 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F275C11CF184; Tue, 19 Apr 2022 12:46:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KjNp651vbz4SdV; Tue, 19 Apr 2022 12:46:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650372366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ir2lcglfAe/knyB8pPxp16iiBtI/LRLjz3VgkenhsCw=; b=EQ2rCXpOzqfQdhpV8czmTbcFTytJmicYyEoAFAs3HFl4xISinsbTMAXzcu1FaILH+DQjEc t7hxVCaOdq36sA5O1wPh6IYX33vWfvPONL+dLjTsINt9pHWbGno61/LfvmjEbI/BWX74bF FWoP+RsKRW3HaYTVEqS5ND31g75/7scNAcpKmMyoamI7TCqfaIGigN+SCox4TySuC2V2L5 zZ0fDSLVJYDhzt5czQy/YLDsd1rCapXcqA7MiGriJLopKe/cAqPeiBSU4jqLxYmDznTCOj xjAFHuY9nDu8t3SCI5bCzKe9uwz7FcIV5CccRI6611+E8nlHC4YegAFzq/rBsg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 76126278A2; Tue, 19 Apr 2022 12:46:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23JCk6q9030430; Tue, 19 Apr 2022 12:46:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23JCk6bM030429; Tue, 19 Apr 2022 12:46:06 GMT (envelope-from git) Date: Tue, 19 Apr 2022 12:46:06 GMT Message-Id: <202204191246.23JCk6bM030429@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 11c549555469 - main - ext2: plug a set-but-not-used var List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 11c549555469e4dd4e05a7b010b15a4b061fe604 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650372366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ir2lcglfAe/knyB8pPxp16iiBtI/LRLjz3VgkenhsCw=; b=ny5RZNZmuSXlSnmdpFDuGcQeLfcBlcRhSgoVKUAQPR3Hg/peBT4myGLjToUZIEkPRTtZJB EdnYSm4lTJFR+bDTjCRIYXsi/CeAunE88rd7TGrPhgNW2CKkNnrwkytB4aCMwZvienzlFQ nsCWy7uK6MEWWXyoEDdaW+m5bDWYQZXPhe3pF3vjYLIcqok9RL7Swwkphp+N/tMef6JhFV 3dxBOpcXfnx11ryRnGUXfg0CEjFwImmLrOH5MQ7nDRcG/IlRhmmaDaKtoDM6HK9Rk9Jal8 c7IjCQGjWYH/n5YzB4Q476zEb+/tLqPf4thmGTW+tQDdjPH50E3jIA8+bFq29A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650372366; a=rsa-sha256; cv=none; b=dnLfoSsjI5Xw9sHo0mbDJI1/ejtllS+KNbAoW08vgOtGDrAZ0rEmRLxjarPe0D3QaipCGd ESEHgq750bn+d53JfEhsqOLsKJE3BrpQUGQUoPJdeivupOIkBGWdATqVbsaOtrMWO/m6/4 hBhkXtCGF0LOqbGHv63C3votDdcH9LlWxe7R03tjRr2sOSZWeuOjrEe5ohJcb9eQ6PG2gW W6OxLra5T8RB/4HRHVB9Z3uyJ+0CumI1/+RBGhoGSBrbqOooValNLM9AxvP222cb40SM3E 90qyaD/5hDOgJ2jl4jxuVHptGT+x0jWbt0zMbA7F6JLTM/h3+I9mSYKCqkt3ag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=11c549555469e4dd4e05a7b010b15a4b061fe604 commit 11c549555469e4dd4e05a7b010b15a4b061fe604 Author: Mateusz Guzik AuthorDate: 2022-04-19 12:28:22 +0000 Commit: Mateusz Guzik CommitDate: 2022-04-19 12:45:57 +0000 ext2: plug a set-but-not-used var Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/fs/ext2fs/ext2_extents.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/fs/ext2fs/ext2_extents.c b/sys/fs/ext2fs/ext2_extents.c index 7aac71cf3fbc..3d24db4b396b 100644 --- a/sys/fs/ext2fs/ext2_extents.c +++ b/sys/fs/ext2fs/ext2_extents.c @@ -449,7 +449,11 @@ static int ext4_ext_check_header(struct inode *ip, struct ext4_extent_header *eh, int depth) { +#ifdef KDTRACE_HOOKS char *error_msg; +#else + char *error_msg __unused; +#endif if (le16toh(eh->eh_magic) != EXT4_EXT_MAGIC) { error_msg = "header: invalid magic";