From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=fail (p=quarantine dis=none) header.from=redhat.com 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 34D005A026E for ; Sun, 22 Nov 2026 23:16:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1795385780; 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=CDWJ9xhZRhgvuR2Q7gQ944TXGJIHpFgBaERCtQQeUF0=; b=b7CAq+t243Vk/AgOHQvL6uoH+1FZACHYk8h93Lsrnm6BqM0vAxg2m2ZxMcLDrt9rkt0HQm LPqolLL7QjjbkzC5xUvNM47CMt6G5XF0aQKQqnl8zjvQ9YNX+GIK2dG3LMhTohEPytCvJE 5wIwVNG91NDaYPtmC8Urh+aSRAUrm1o= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-25-TVi4bRDvMxOQf6qExqUOVQ-1; Sun, 22 Nov 2026 22:16:18 +0000 X-MC-Unique: TVi4bRDvMxOQf6qExqUOVQ-1 X-Mimecast-MFC-AGG-ID: TVi4bRDvMxOQf6qExqUOVQ_1795385777 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-492b5408dedso1480495f8f.3 for ; Sun, 22 Nov 2026 14:16:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795385777; x=1795990577; h=date:content-transfer-encoding:content-type:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; b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Zz8vqjiEjo//sHAXUr6kv1V/hkZErCZrX5E= X-Received: by 2002:a05:600c:6219:b0:4bb:60b1:4409 with SMTP id 5b1f17b1804b1-4bb88816525mr191792295e9.19.1795385777293; Sun, 22 Nov 2026 14:16:17 -0800 (PST) X-Received: by 2002:a05:600c:6219:b0:4bb:60b1:4409 with SMTP id 5b1f17b1804b1-4bb88816525mr191792055e9.19.1795385776705; Sun, 22 Nov 2026 14:16:16 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb884865b1sm288131765e9.5.2026.11.22.14.16.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Nov 2026 14:16:16 -0800 (PST) From: Stefano Brivio To: Laurent Vivier Subject: Re: [PATCH] cppcheck: Fix scope of the variable 'type_or_state' Message-ID: <20261122231615.27d72bd4@elisabeth> In-Reply-To: <20261119124916.3150605-1-lvivier@redhat.com> References: <20261119124916.3150605-1-lvivier@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Date: Sun, 22 Nov 2026 23:16:15 +0100 (CET) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Mxsn7bdCi-6nS4HVD0kys53np9ohRYRawea3kmgvVfU_1795385777 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: BM4LZ26WGRQNX4WRADJ4PPIEIYH5YYY2 X-Message-ID-Hash: BM4LZ26WGRQNX4WRADJ4PPIEIYH5YYY2 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 Thu, 19 Nov 2026 13:49:16 +0100 Laurent Vivier wrote: > Fix following cppcheck 2.22.0 error: > > flow.c:289:14: style: The scope of the variable 'type_or_state' can be reduced. [variableScope] > > Signed-off-by: Laurent Vivier Applied. -- Stefano