From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 8C9335A026E for ; Tue, 21 Mar 2023 04:55:10 +0100 (CET) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Pgd6H55X1z4x7s; Tue, 21 Mar 2023 14:55:03 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1679370903; bh=OJlbYJn9jBh7wHBn7OuNT692j4ZK92kVnKahlmIm8xU=; h=From:To:Cc:Subject:Date:From; b=LToB90LJmvopwNtBvn1vWDPIeuw1V2LOwjHq60e/0C5zesIH6YS6LCcubbTurEukr kaMYlQTWVQ8Y/uk5ueXeMVsT6fsk+wsjFsVneW8XHPXapENV81OgYMfPwvOyqweNFW 2DMpAS40ORowZRfI62GGCdh8d+P2bMhcM5HxjiFA= From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/2] Fix some problems with cppcheck-2.9.1 (from Fedora 37) Date: Tue, 21 Mar 2023 14:54:58 +1100 Message-Id: <20230321035500.732872-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.39.2 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: M4HMRVZVGP7T4ELLKFZX2LH5TB3MVR2G X-Message-ID-Hash: M4HMRVZVGP7T4ELLKFZX2LH5TB3MVR2G X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: I updated to the latest tree and found I was getting some new cppcheck false positives. I suspect these are fixed in the latest upstream cppcheck, but they're still there for the one packaged in Fedora 37, which is a lot more convenient for me to use. Here are some workarounds for those failures. David Gibson (2): Work around weird false positives with cppcheck-2.9.1 Fix false positive if cppcheck doesn't give a false positive conf.c | 2 +- netlink.c | 2 +- tap.c | 2 +- tcp.c | 4 ++-- tcp_splice.c | 2 +- udp.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) -- 2.39.2