From patchwork Tue Dec 3 15:12:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 22156 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 00DCCBDC71 for ; Tue, 3 Dec 2024 15:13:00 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id ADA166608F; Tue, 3 Dec 2024 16:12:59 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=protonmail.com header.i=@protonmail.com header.b="prAtBTMt"; dkim-atps=neutral Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B9AF465FD6 for ; Tue, 3 Dec 2024 16:12:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1733238778; x=1733497978; bh=YZX3/AztNGo0VqFKwQp+e5cnb3O7E+Oj73wubOwwVaQ=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=prAtBTMtWtN4/S76XWphWE9wIYoOXEpu9iw1swcGXlSfDoagwVwnwL4XuLGj3nxp+ BgPC6V7JpztZehC41L9XNtt72NQ0w3/wEK895mqKjyv33B2ZleWXQfZS7s7MPhcdCW qY/+FERd3BWojo0t9ybha5yoeuV+4VW8e7GpzWAFEn7rjdALfZQA2OVKkwXdQXdo87 0rQMYMMo0vK09MYi8gQsk64HZwsoeJ1JzctOt4RF7psPNKDNCxyuycSjWg3KOz80h0 84LU8qLH6WUeJ2ePiigOruizX/59pd6+eXtfY+7vlafNTOIro4DwEl8s+lYB6hVIoJ x0pVQ6phYQIzQ== Date: Tue, 03 Dec 2024 15:12:53 +0000 To: libcamera-devel@lists.libcamera.org From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= Subject: [PATCH v1] test: span: Use intended variable Message-ID: <20241203151251.794657-1-pobrn@protonmail.com> Feedback-ID: 20568564:user:proton X-Pm-Message-ID: 9b133d231e679d926016ed7092eef759ed9d1f2f 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" It appears that the original intention was to use it in these particular constructor tests: the variable is otherwise unused, and `Span{ v }` is already tested. Signed-off-by: Barnabás Pőcze Reviewed-by: Laurent Pinchart --- test/span.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/span.cpp b/test/span.cpp index 5452967d..4b9f3279 100644 --- a/test/span.cpp +++ b/test/span.cpp @@ -143,9 +143,9 @@ protected: Span{ v }; /* Span{ v }; */ - Span{ v }; - /* Span{ v }; */ - /* Span{ v }; */ + Span{ cv }; + /* Span{ cv }; */ + /* Span{ cv }; */ Span dynamicSpan{ i }; Span{ dynamicSpan };