summaryrefslogtreecommitdiff
path: root/test/camera
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera')
-rw-r--r--test/camera/buffer_import.cpp3
-rw-r--r--test/camera/capture.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/camera/buffer_import.cpp b/test/camera/buffer_import.cpp
index 97a85827..d57ffa75 100644
--- a/test/camera/buffer_import.cpp
+++ b/test/camera/buffer_import.cpp
@@ -33,7 +33,8 @@ public:
}
protected:
- void bufferComplete(Request *request, FrameBuffer *buffer)
+ void bufferComplete([[maybe_unused]] Request *request,
+ FrameBuffer *buffer)
{
if (buffer->metadata().status != FrameMetadata::FrameSuccess)
return;
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp
index 0fe3bf9b..eb67bf2d 100644
--- a/test/camera/capture.cpp
+++ b/test/camera/capture.cpp
@@ -26,7 +26,8 @@ protected:
unsigned int completeBuffersCount_;
unsigned int completeRequestsCount_;
- void bufferComplete(Request *request, FrameBuffer *buffer)
+ void bufferComplete([[maybe_unused]] Request *request,
+ FrameBuffer *buffer)
{
if (buffer->metadata().status != FrameMetadata::FrameSuccess)
return;