Message ID | 20191025234004.2754-1-paul.elder@ideasonboard.com |
---|---|
State | Accepted |
Commit | b1b0a482787cdac6f4fc88b25dd9bcce69f21de3 |
Headers | show |
Series |
|
Related | show |
Hi Paul, Thank you for the patch. On Sat, Oct 26, 2019 at 01:40:04AM +0200, Paul Elder wrote: > Remove unused local map variable. > > Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > 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<Stream *, Buffer *> map; > for (StreamConfiguration &cfg : *config_) { > Stream *stream = cfg.stream(); > std::unique_ptr<Buffer> buffer = stream->createBuffer(i);
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<Stream *, Buffer *> map; for (StreamConfiguration &cfg : *config_) { Stream *stream = cfg.stream(); std::unique_ptr<Buffer> buffer = stream->createBuffer(i);
Remove unused local map variable. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> --- src/cam/capture.cpp | 1 - 1 file changed, 1 deletion(-)