From patchwork Wed Nov 22 19:15:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaslo Ziska X-Patchwork-Id: 19226 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 24663C3220 for ; Wed, 22 Nov 2023 19:18:33 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8D5FB629AF; Wed, 22 Nov 2023 20:18:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1700680712; bh=59v+a/FTyMvp+MuBJRimSb9rgQZfiw/dkVF06RqOx6A=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=4iIpf6n+XxDxXyn7hmgWQKX0gcZhG15zo9U1FKqdtsUSAWWYKgQnOIixqMUZYIs3s XdlX5m/nmKroan2aEi5nbfI3hMdN6HW3mdCZS2fjAh1YpVs1FH0gFK9We1omOlDdv1 6wIGDlri5dg+UrOvJxF/PvI3eiAGO+r9C2MpyuPuxIIzS+rSraK5ConfxAmEXAyeS9 +C314r8deAkq4+gQtGe5qSWi12eP/ygFCpX8aFi0M8/SefsGuzfz9RudkheAW7l7qH 4jrZTH0JXDZzEx8E+pZGeYIoRGb+PCI+5aonjJWAoGNOw0vbZUs7DDgICLQO0YFMtd NOf6MBfev+gog== Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [85.215.255.23]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9358161DAD for ; Wed, 22 Nov 2023 20:18:30 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=ziska.de header.i=@ziska.de header.b="mKTVijjS"; dkim=permerror (0-bit key) header.d=ziska.de header.i=@ziska.de header.b="N2ZkKLcs"; dkim-atps=neutral ARC-Seal: i=1; a=rsa-sha256; t=1700680710; cv=none; d=strato.com; s=strato-dkim-0002; b=ch1qE1odl++v7Cwm4ENTrP7ZH43Qa9b2EDfjJ7Lvlx4udJ/hPoajb+e0uCqOpX05x2 UTHYJFyRz7ajf5jEekyl58WBZ55UhjUQc5/1XGc2J7zn3MUtQf/R8Ut3kWIklQQgdFHZ SJYfBKXnBRIDvX7r/e07XotoncjpGw+VJos0pgunmb8Eqc41EzBb6Q0oxnv/E6FLt1Yk dG2nyZwsAqHDxh+IARpNOe2XwsdHuzU8FTlehjyErCwa5eF4TA9G9a2j9e50H9dB8HzN QNq+mpbgdh8eVTpji4ry1c5ZDc2WlfVBSpq7LxvWwVcCkAfcK2e6Ec8+GGQiLKcyJycb cd8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1700680710; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=7s+XcEQbuwnmKsZQDfvVdBoZIbBvqjHeoqJJAcyIKfk=; b=johOaJ9z+fDst2t5PSLz00E4diGQ5RCfQ4Wikgs/V+QA9O10GZj3IZS4UIg0syxaTh 7NqRwF+e5JJtjt7Id9ES8KA5zliwzvSQf2jxZ632PYhu7Fq3WD+wHm6HswgigkDI/e3U 3CP5PhwSnvOBVKlwbN1LWeEvbqoE66pqjQWKtkH9gRTc7Iqg3fHk5VsEB74EMlQZGit7 m/AqHx9GhtSYbZzMVBt9Q/GOEuiaUcYgTIBopaZFTXPPx++BDVvzG+awryMBwHOoft67 TjnMqqlgOktwkXtftawCovZSuxD+afqDoqTGojzPLHKvPQmgCC0ql/bo9DQl952I98Ow pcNw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1700680710; s=strato-dkim-0002; d=ziska.de; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=7s+XcEQbuwnmKsZQDfvVdBoZIbBvqjHeoqJJAcyIKfk=; b=mKTVijjS6I0Swfi1gRFsxZnUPneaZsGKNOLdxqkOUhiKKNWNXfCUrgcOlBbLHeMYW/ F1CqjT5czniqCMNGpB1fnRTNn8HUM+HNo7GxMTG2q9Ku716hc3Q5lOUK1HRMm2hwWYDv LP9G1dZrQR0L/nGzyhsfEdhLsB29DzDunTU1xOiRxvFywMFWAfiTEdVq8sNUhqjD2O5n pqU2h9xt3WBCOVtzJHZxOaEz8baDL9sdFrNgcehpd146g0Mund8CTITX860r+UyqdGzC zNCV1NhNppgbYPHs1CVL0FqjausdSjUMozZpWXzygoXj/ScBXyc7COrQ2GZt27cqbGon 3ejA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1700680710; s=strato-dkim-0003; d=ziska.de; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=7s+XcEQbuwnmKsZQDfvVdBoZIbBvqjHeoqJJAcyIKfk=; b=N2ZkKLcseZXhx/GTraJW5rTPsTzImHB1jC+KHHIx2MaHQRbim4dytjFNJW9nTB8Hun j4+QDUZvt19Ws2FqyIDw== X-RZG-AUTH: ":Jm0XeU+IYfb0x77LHmrjN5Wlb7TBwusDqIM6Hizy8VdfzvKi4yoFC9cHhoq7VPJQVrv/Pjz9vWwFKVwtgQho0fFAdiY=" Received: from archlinux.fritz.box by smtp.strato.de (RZmta 49.9.1 AUTH) with ESMTPSA id j3f4eezAMJITp3b (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 22 Nov 2023 20:18:29 +0100 (CET) To: libcamera-devel@lists.libcamera.org Date: Wed, 22 Nov 2023 20:15:47 +0100 Message-ID: <20231122191753.42997-1-jaslo@ziska.de> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] gstreamer: Fix unused variable error 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: , X-Patchwork-Original-From: Jaslo Ziska via libcamera-devel From: Jaslo Ziska Reply-To: Jaslo Ziska Cc: Jaslo Ziska Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Fix unused variable error introduced in fd84180d. Signed-off-by: Jaslo Ziska --- This patch fixes the unused variable error raised by Laurent. src/gstreamer/gstlibcamerasrc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.42.1 diff --git a/src/gstreamer/gstlibcamerasrc.cpp b/src/gstreamer/gstlibcamerasrc.cpp index 767017db..b0eb2dd7 100644 --- a/src/gstreamer/gstlibcamerasrc.cpp +++ b/src/gstreamer/gstlibcamerasrc.cpp @@ -765,7 +765,7 @@ gst_libcamera_src_send_event(GstElement *element, GstEvent *event) switch (GST_EVENT_TYPE(event)) { case GST_EVENT_EOS: { - g_autoptr(GstEvent) oldEvent = self->pending_eos.exchange(event); + [[maybe_unused]] g_autoptr(GstEvent) oldEvent = self->pending_eos.exchange(event); ret = TRUE; break;