Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13037051rwl; Wed, 4 Jan 2023 02:36:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXvWAXc7av1ZuXg7ZvYXGZWsNs/E+W6ySE8cJFvUKNoWZMPAi60zOd6fN26E4jx4BgxE5iuN X-Received: by 2002:a17:903:11cf:b0:192:9550:339a with SMTP id q15-20020a17090311cf00b001929550339amr35414028plh.52.1672828598992; Wed, 04 Jan 2023 02:36:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672828598; cv=none; d=google.com; s=arc-20160816; b=Vam4GGvN0Yy+W+dmLEnvoz0l6bGLXP+uZEqXlmxtFDgfAmb5TK+cqaDi4NdFpq1bwC 0KR8bKa0bGI9RE+otvVtKOuKA3KS03epixE7b/+aodmyOzBWegZjmMBz1Xyvvyc1oeX7 0EP33QmoNwBhofsQUCqyKJBguexk+UoOvbZ0nRj7iOpYAeiXcV3KHxlgihUmS6YJMmBK gojfvndAGiUijFfr12BZ5CC9jUL7FQBZq7+F2Misc1yahBY4BQDLIphyxqlxiZAiMNo7 iEqHlRxzDc6fOQWPMwumMaY9nNNK0iANVqRCvkNflC/cK7wvhIiCX+ipFrt4+GuAcIWJ 4y4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uwAjCOHPSBqaqr/AiZuMi4VBeUfK45lY0heglu3BM+A=; b=KmBpHVs+SIrwyK0HdqTxxN5Vdp7Oxe2rs+hLK7djl07OJVR+Hmtn/Rj5OlqmoUdQdM E+4xpOF/jcfG4AUtW8Ct/3dnmuCrNP6KT+RZQCs46ZrLvJc8KVPWTJ127N4Gv0gZzKO8 GsduztvfXkRrr8LDfmWfgFw+ZWh63+ep3Bojo4jbqaUBT348DbSGsRd26ITF9DP/UkQ8 O36ApAZfiMFdP6Zbl3M7yR7Zt8uFHlvlN9KBfKbGI4EOiOkOeJYnixVCI6+6ClpklIOW Gmp27ICn9gEBiuPNQWHximy3si01xOoCPGwEY+jgAsYKI5B+sApeqfevM2HJhpSJLCQZ Gw/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ac0hLvS3; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a170902d50900b00192b2d2183esi13759616plg.493.2023.01.04.02.36.24; Wed, 04 Jan 2023 02:36:38 -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=@redhat.com header.s=mimecast20190719 header.b=ac0hLvS3; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233204AbjADK0t (ORCPT + 99 others); Wed, 4 Jan 2023 05:26:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233383AbjADK0k (ORCPT ); Wed, 4 Jan 2023 05:26:40 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D94A1EC69 for ; Wed, 4 Jan 2023 02:25:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672827943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uwAjCOHPSBqaqr/AiZuMi4VBeUfK45lY0heglu3BM+A=; b=ac0hLvS3PuoOr/JmcVjF24LnO6Rfb9e2QsdIIr/WRVIB8Llm8KtiFjI51j1FzbW93k0btS vX91jIlagOs2wvfKWSMy2TIpOazPkamegUAju+GHI9+5kiCp6+PyfWLxuX+XFQYm0C/crG KE74SOLOm+0l4hiLql1vuwacaynrZqU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-198-Yw8Jff53NbaC60E8IX3zzA-1; Wed, 04 Jan 2023 05:25:41 -0500 X-MC-Unique: Yw8Jff53NbaC60E8IX3zzA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A29B1801779; Wed, 4 Jan 2023 10:25:41 +0000 (UTC) Received: from fedora (ovpn-192-227.brq.redhat.com [10.40.192.227]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2554C51E5; Wed, 4 Jan 2023 10:25:41 +0000 (UTC) Date: Wed, 4 Jan 2023 11:25:38 +0100 From: Lukas Czerner To: Eric Biggers Cc: linux-ext4@vger.kernel.org Subject: Re: [e2fsprogs PATCH] libsupport: remove unused label in get_devname() Message-ID: <20230104102538.bbttn6is7w6gdsbo@fedora> References: <20230104090341.276131-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230104090341.276131-1-ebiggers@kernel.org> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 On Wed, Jan 04, 2023 at 01:03:41AM -0800, Eric Biggers wrote: > 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: > | ^~~~~~~~~~ Looks good, thanks! Reviewed-by: Lukas Czerner > > 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 >