From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Bimq8mOZ; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id DC6F45A004E for ; Wed, 14 Jan 2026 01:08:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768349289; 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=szEP1J95ez3dTVUOJge8Rf78goQNdCUa1ovifXjYeG8=; b=Bimq8mOZFSxBpqKf483A18fk91c4GcQg08q0tGArG10+y2AlU8rzamnQlVY3VijCh5ZAc0 DxYyipEpmC3jYy8/+21zqUH4bkJ+/KLAxr9id3buf/qE0XgQqkkAP0UXrPljgqzxWqCk9L cp4kHSNNa+GEdwVB78YEHgTn9j/OgNE= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-689-UUmKGe8uPAiPZ8pCDpXvVw-1; Tue, 13 Jan 2026 19:08:06 -0500 X-MC-Unique: UUmKGe8uPAiPZ8pCDpXvVw-1 X-Mimecast-MFC-AGG-ID: UUmKGe8uPAiPZ8pCDpXvVw_1768349286 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-47918084ac1so73667325e9.2 for ; Tue, 13 Jan 2026 16:08:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768349285; x=1768954085; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=szEP1J95ez3dTVUOJge8Rf78goQNdCUa1ovifXjYeG8=; b=RljDYgXcrE4UjgN3PU9GwJLAnX05Ghp5G4kg1rfj4on0/9KBPMzlZmPush5z2lkIdn znM7Vcik6n6cvMDJx9+aRLJCwRbhmuo45YpLz8TX+v+5VnS7wneOKymNmL+sqBLM1ZhD Yi70ti+k5FsLbr07QVEdFgGDi62p3gpTO1lVXJ5mBqtmEe/8RuEZL4RDfymclwLrH5om OEhKUIFN9PJS/B75DL1fgEYEkUeKWDhFOltCMBwjkQHJmkMmcdBRnT2znBTRnwJEiqY3 MEmYghNMy4+QxfZybKKNsx8zD8RqQDoGPnQ0JzHJmw7lCkM0VlypP4bBK2hngx1OkNrI ltxg== X-Gm-Message-State: AOJu0YwY7Q5O4gVvwliAQxCnI0l+N2IZrVP5LJ1tk5B0b4Gid9P66NV3 jrhcWDgAlPOAKnO4lroEPXrny7VEUw9hfUYOLIlHj5O4YIFGROl0D/LXmi/Dfkb78CEmMSTXn7H qu2opXETwvVyFzlsBlVYjyI+VFPeXwckv1tZC14TFEu9xzCrLf4fwRhvzt8wXXA== X-Gm-Gg: AY/fxX6vaw0w4B9F11ehrWm+iPTgno9vv7mlOC0K2dRgLcoz67q8NZyXf7QXS01QYFw tA7sa56w7JtkpJtWklr+ElM3fG6HfyTFKKgDSgm2WD4uj3yTfzUYF6BMV8hg6twBqDyci8AoKWW wJMXpxWOSXdd/FWX7+SBSW1dJkzlusYNN9OJCyQCtABzUJ2zZIsF/sU9JhdnpIgD1YhTjGrSGWj JT5TNQ4GKdJ3GWr+lWXfyUomSy0pelZACaC0RqLiaqdOidLZgyXG7WxxrnKzr/zA/j3PNsb6C8l tBv9SHkHgHqUJGzX3dU+vqeBTG/zTMUEm33eay+7K6nCC3D0CLDLcR0I7+6SX0djC9w+lqzOSwF M3pv/l5X/IxR0vr0YE4+bZhrnVGoHGVDvVhsGcA== X-Received: by 2002:a05:600c:a45:b0:477:a978:3a7b with SMTP id 5b1f17b1804b1-47ee33641ffmr8785965e9.22.1768349285263; Tue, 13 Jan 2026 16:08:05 -0800 (PST) X-Received: by 2002:a05:600c:a45:b0:477:a978:3a7b with SMTP id 5b1f17b1804b1-47ee33641ffmr8785875e9.22.1768349284815; Tue, 13 Jan 2026 16:08:04 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47ee2829954sm8220225e9.5.2026.01.13.16.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 16:08:04 -0800 (PST) Date: Wed, 14 Jan 2026 01:08:03 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 0/3] cppcheck-2.19.1 fixes Message-ID: <20260114010803.41a37a4a@elisabeth> In-Reply-To: <20260113035415.685242-1-david@gibson.dropbear.id.au> References: <20260113035415.685242-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: GCjsB4yekcr-LHJ-I3fxW0owj1sm4QCOGcFRrLIviWc_1768349286 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 55RRLPJZ57YRUFJTQS3PSZITWM7DQZYZ X-Message-ID-Hash: 55RRLPJZ57YRUFJTQS3PSZITWM7DQZYZ X-MailFrom: sbrivio@redhat.com 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: passt-dev@passt.top 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: On Tue, 13 Jan 2026 14:54:12 +1100 David Gibson wrote: > Here are some more fixes for cppcheck warnings that I'm seeing with > cppcheck-2.19.1. One looks like it might, at least theoretically be a > real bug. > > I'm not certain if all of these are due to a new cppcheck version, or > if some are just due to things merged recently that hadn't previously > been checked with a recent-ish version. Applied. -- Stefano