From b1b0a482787cdac6f4fc88b25dd9bcce69f21de3 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Sat, 26 Oct 2019 01:37:55 +0200 Subject: cam: capture: remove unused local variable Remove unused local map variable. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- src/cam/capture.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/cam/capture.cpp b/src/cam/capture.cpp index d05c01f1..0d7854d6 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); -- cgit v1.2.1