summaryrefslogtreecommitdiff
path: root/src/cam
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2019-10-26 01:37:55 +0200
committerPaul Elder <paul.elder@ideasonboard.com>2019-10-26 01:42:29 +0200
commitb1b0a482787cdac6f4fc88b25dd9bcce69f21de3 (patch)
tree4ad91c0a7ea69a47415ce2db337b59e949942ce3 /src/cam
parent429be98e4cbf4aae889675568abbd108cf7f4691 (diff)
cam: capture: remove unused local variable
Remove unused local map variable. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/cam')
-rw-r--r--src/cam/capture.cpp1
1 files changed, 0 insertions, 1 deletions
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<Stream *, Buffer *> map;
for (StreamConfiguration &cfg : *config_) {
Stream *stream = cfg.stream();
std::unique_ptr<Buffer> buffer = stream->createBuffer(i);