From patchwork Thu Feb 19 14:40:39 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26195 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 2FF04C31E9 for ; Thu, 19 Feb 2026 14:40:57 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D93F362253; Thu, 19 Feb 2026 15:40:56 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="U5F58Hp/"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1EE90620C9 for ; Thu, 19 Feb 2026 15:40:55 +0100 (CET) Received: from killaraus.ideasonboard.com (unknown [83.245.237.175]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id CF4D0FCC for ; Thu, 19 Feb 2026 15:40:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1771512002; bh=tlgaLMRuX0jLgEAwryLrRy8t19ujPYRzLT7aNW+9DC4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=U5F58Hp/QfSQFqR4GKJ776pK4qSiQ2id6jdzXeikTsZ9vy3/9QOg3vBGWFzDjTUta ldZQBRPJcHM90OJvnyUvyErJ/6VaraztqXBOG0dQGHhxOMxPVxkJppGko0Bd4/hgDm 0lNhn2SWIzXMWG1YSLO7rKsvNGQjaXYW8JLEvUGU= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH v3 3/4] libcamera: Use `it` variable name for iterators only Date: Thu, 19 Feb 2026 15:40:39 +0100 Message-ID: <20260219144040.1615042-4-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260219144040.1615042-1-laurent.pinchart@ideasonboard.com> References: <20260219144040.1615042-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Using the name `it` for a variable that is not an iterator is confusing. Give the variable a more explanatory name. Signed-off-by: Laurent Pinchart Reviewed-by: Barnabás Pőcze --- include/libcamera/internal/ipa_data_serializer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libcamera/internal/ipa_data_serializer.h b/include/libcamera/internal/ipa_data_serializer.h index 61bada52f691..0dda76d5b1d1 100644 --- a/include/libcamera/internal/ipa_data_serializer.h +++ b/include/libcamera/internal/ipa_data_serializer.h @@ -114,12 +114,12 @@ public: appendPOD(dataVec, vecLen); /* Serialize the members. */ - for (auto const &it : data) { + for (const auto &value : data) { std::vector dvec; std::vector fvec; std::tie(dvec, fvec) = - IPADataSerializer::serialize(it, cs); + IPADataSerializer::serialize(value, cs); appendPOD(dataVec, dvec.size()); appendPOD(dataVec, fvec.size());