Message ID | 20201210154759.1114-6-ynezz@true.cz |
---|---|
State | Accepted |
Delegated to: | Petr Štetiar |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=true.cz Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=dO3nRAqn; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CsJJb1k0Bz9sW1 for <incoming@patchwork.ozlabs.org>; Fri, 11 Dec 2020 02:49:51 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cysBg1s0Ly+SqRVVz115YhLTnbz1I9CrY19I5dt2f9Y=; b=dO3nRAqnbawG9FeKB/HW8LrhD 6B7ZjXT2cpgacMFJnQBC2xSt3PrapZ422a6jcxbCr8WSBm/I5NGwig2UXHpR9vkR6ituCI0LEfYsU u8tHW8TXOMVzf4+23GwP+Ujf++AsJyduJqlFvcmurOp8UiDqyk/+jJ9Tpjyt0tlxjjX4EoUSQyhu5 cWOOY0H3Rg17kQwSwyJJD6vlgl1RTMpedYpUVV1ckkh+m8kBZ2ISOecjCEO01J/TSey52PReFOQDh Tcxk4KqBUqftKipjY/E+J5KXWm2DWU+iJJatbwyo2TitcGx0qEmQBmnjipjhi7St4gPDwkMD4QSpf Im8MZltnQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1knOB9-00021k-RL; Thu, 10 Dec 2020 15:48:27 +0000 Received: from smtp-out.xnet.cz ([178.217.244.18]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1knOAp-0001rg-FF for openwrt-devel@lists.openwrt.org; Thu, 10 Dec 2020 15:48:09 +0000 Received: from meh.true.cz (meh.true.cz [108.61.167.218]) (Authenticated sender: petr@true.cz) by smtp-out.xnet.cz (Postfix) with ESMTPSA id 7A81018F44; Thu, 10 Dec 2020 16:48:05 +0100 (CET) Received: by meh.true.cz (OpenSMTPD) with ESMTP id a2fb2c30; Thu, 10 Dec 2020 16:47:48 +0100 (CET) From: =?utf-8?q?Petr_=C5=A0tetiar?= <ynezz@true.cz> To: openwrt-devel@lists.openwrt.org Subject: [PATCH uclient 05/12] uclient-fetch: fix statement may fallt hrough Date: Thu, 10 Dec 2020 16:47:52 +0100 Message-Id: <20201210154759.1114-6-ynezz@true.cz> In-Reply-To: <20201210154759.1114-1-ynezz@true.cz> References: <20201210154759.1114-1-ynezz@true.cz> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201210_104807_716565_0179669A X-CRM114-Status: GOOD ( 15.63 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Cc: =?utf-8?q?Petr_=C5=A0tetiar?= <ynezz@true.cz> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
fixes, improvements and CI
|
expand
|
diff --git a/uclient-fetch.c b/uclient-fetch.c index 5f7ac6200bb8..0c7a1232f256 100644 --- a/uclient-fetch.c +++ b/uclient-fetch.c @@ -233,6 +233,7 @@ static void header_done_cb(struct uclient *cl) error_ret = 8; break; } + /* fall through */ case 204: case 200: if (no_output)
Fixes following issue reported by clang-12 static analyzer: uclient-fetch.c:228:6: error: this statement may fall through [-Werror=implicit-fallthrough=] if (sscanf(blobmsg_get_string(tb[H_RANGE]), ^ uclient-fetch.c:236:2: note: here case 204: ^~~~ Signed-off-by: Petr Štetiar <ynezz@true.cz> --- uclient-fetch.c | 1 + 1 file changed, 1 insertion(+)