Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12957428rwl; Wed, 4 Jan 2023 01:08:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXsckvKG5hRQBUV1rGzhnYN74y3RAmYQuc3KYzjEEllEKLugOu5ziZryvtR9/9vejSUZ7nzF X-Received: by 2002:a17:907:9394:b0:78d:f455:30f8 with SMTP id cm20-20020a170907939400b0078df45530f8mr34178796ejc.32.1672823293604; Wed, 04 Jan 2023 01:08:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672823293; cv=none; d=google.com; s=arc-20160816; b=EmxW/tAQ7Te5YZcwbwj/V3qC0zNkXniy2Oi8cogn1N86KoVmRFNXTaHOUeyWmsJ5aE 2r2CShzwGZ34+F+K8yL/tdvmxpX/Eh4dkj8xaJ1pIP9Cbw6Bs/Oq5/ZZGNgJYWZOv/+Y bsc8ha+nqcluG4pQ1nnxScyO3DJ3vE19N/t0bJKGOIEJHDC+IbwqsSojo7kx6Vzpuv4J ThzDHnXJi5DCzX+U37StxGNVhyIKcyviZbudCqPFP01irea5OVHLhUK0uIG6GItySk6A /e0M29vZIFnBalWhOeRrZh2bLLD2t4oqSzTMMJauK1mGhXwlu8OHTxFBxneH4Rvngm8p TTPw== 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=pzPN/HRqSvg+nOOLsUgexSywmuI2uwm9nv6EIDGVhh8=; b=u9ZIoxrjpAwVtPy+ZliuVLvVuAUixmWjUiawGskt72aPsJ4acz2cbj8dq5MHkYrLil Aod1qK+Ip0qT+79Nobj7uVrCPP4jKNDbi86zPwUpgBQX0+IE6uJJoCu2FtW+yYlMbXzU Pgn2L1lI165QFv0iya+eSkfdK8CP1PZvCIfZt+PPhuV1vFk6p7yWxpuVfHp3fkPOG6+u kd4tUcBYXjBiEZVJci4TPAi87iHUvlOgpBEp+TSVoAZRuumTPW+vjDkjQebTXciY/f6c 1C6IipPBYgRnOSg/eskhRVeUkBF/Avpf+fqKY+tCfmOUCz3RPnCZ6NLkGkxlRcMeSY7t sPkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nP+7ma6K; 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 rh16-20020a17090720f000b007c4fe4301b2si23357972ejb.949.2023.01.04.01.07.48; Wed, 04 Jan 2023 01:08:13 -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=nP+7ma6K; 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 S234049AbjADJEN (ORCPT + 99 others); Wed, 4 Jan 2023 04:04:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234066AbjADJDv (ORCPT ); Wed, 4 Jan 2023 04:03:51 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21F7CB1B for ; Wed, 4 Jan 2023 01:03:51 -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 ams.source.kernel.org (Postfix) with ESMTPS id CFC24B81366 for ; Wed, 4 Jan 2023 09:03:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76461C433D2; Wed, 4 Jan 2023 09:03:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672823028; bh=n+8e/fJ/L1a0Revfdd/SwZ8NDjuLIr+Yj1JiI1MHyyA=; h=From:To:Cc:Subject:Date:From; b=nP+7ma6K4CnUxvrvKwqzRnzIcreBT4rtxXB8nv/5WgJYVrpvs1C2rYgXov4EdXEVA ii2V5gu5TX/LzWhB8BJ2i0nGNpwNz58y2UYOzYXVQbXdQU0GHKSJuOo+29J3DX0l58 OtVP7ZGLPzEmOJecRLhElvP5UL+I+PXDx5reOLy7noHllRSfl3Zwcd/2ZX03BXESqQ rzJGLeC5uel/e7pvRnryn2yoY3GqtFvSuhoWTztfJkhlpg5NCq4YucGlDqfEKMB8dL /bM3ynv9lnkHmhb0bklSZK0xtJMvdajW/pHWZ4lj7iboGdtNi7doSYdIxxkV8iwcgH 6Kv3/r3Cj3nKA== From: Eric Biggers To: linux-ext4@vger.kernel.org Cc: Lukas Czerner Subject: [e2fsprogs PATCH] libsupport: remove unused label in get_devname() Date: Wed, 4 Jan 2023 01:03:41 -0800 Message-Id: <20230104090341.276131-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: devname.c: In function ‘get_devname’: devname.c:61:1: warning: label ‘out_strdup’ defined but not used [-Wunused-label] 61 | out_strdup: | ^~~~~~~~~~ Cc: Lukas Czerner Signed-off-by: Eric Biggers --- lib/support/devname.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/support/devname.c b/lib/support/devname.c index 8c2349a3..e0306ddf 100644 --- a/lib/support/devname.c +++ b/lib/support/devname.c @@ -58,7 +58,6 @@ char *get_devname(blkid_cache cache, const char *token, const char *value) goto out; } -out_strdup: if (is_file) ret = strdup(token); out: -- 2.39.0