From patchwork Fri Oct 25 23:40:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 2225 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8414360C0F for ; Sat, 26 Oct 2019 01:40:20 +0200 (CEST) Received: from neptunite.amanokami.net (143.121.2.93.rev.sfr.net [93.2.121.143]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id EC58D43E; Sat, 26 Oct 2019 01:40:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1572046820; bh=Ls/J/UhIwqf+jBNXZQIa6980ZGtsUVxxIEk4Y+pXlU8=; h=From:To:Cc:Subject:Date:From; b=qbvhQHz3XO+iWMP7j3G5PdWgzQOwVR/MBDHsJs8yB6pPcRAkof1uMvph+535NwJTE VZ1X2m4R8R3CA9UxWYKacu6szG/6w61w6mn/b5O5MQ/GbzGebohZ9/TFobYjqf1KHu klWTbNFwJswQfiJ5mrDXSmsggAoee4uQ0z3OBl0k= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Sat, 26 Oct 2019 01:40:04 +0200 Message-Id: <20191025234004.2754-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] cam: capture: remove unused local variable 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-List-Received-Date: Fri, 25 Oct 2019 23:40:20 -0000 Remove unused local map variable. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- src/cam/capture.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cam/capture.cpp b/src/cam/capture.cpp index 8a939c62..fa3922ba 100644 --- a/src/cam/capture.cpp +++ b/src/cam/capture.cpp @@ -91,7 +91,6 @@ int Capture::capture(EventLoop *loop) return -ENOMEM; } - std::map map; for (StreamConfiguration &cfg : *config_) { Stream *stream = cfg.stream(); std::unique_ptr buffer = stream->createBuffer(i);