summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Seemann <seemann.jochen@gmail.com>2017-11-22 07:34:01 (GMT)
committerJochen Seemann <seemann.jochen@gmail.com>2018-01-08 18:27:45 (GMT)
commit07166f2da9f9d308f5b0671181954fc37fe21737 (patch)
tree4260566ed42f4692f8f39aa9b52b0c8ca8ce7dee
parent13df2988efbe9a82225ccbf4cad463391d94c8e8 (diff)
downloadqtmultimedia-07166f2da9f9d308f5b0671181954fc37fe21737.tar.gz
avfoundation: resolve unused parameter warnings
Change-Id: I49eb4e04dd6d63a17d31fd0981be18f3b88fcc39 Reviewed-by: Christian Stromme <christian.stromme@qt.io>
-rw-r--r--src/plugins/avfoundation/camera/avfcamerautility.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/avfoundation/camera/avfcamerautility.mm b/src/plugins/avfoundation/camera/avfcamerautility.mm
index 872075e..b864162 100644
--- a/src/plugins/avfoundation/camera/avfcamerautility.mm
+++ b/src/plugins/avfoundation/camera/avfcamerautility.mm
@@ -543,12 +543,14 @@ void qt_set_framerate_limits(AVCaptureDevice *captureDevice, qreal minFPS, qreal
void qt_set_framerate_limits(AVCaptureDevice *captureDevice, AVCaptureConnection *videoConnection,
qreal minFPS, qreal maxFPS)
{
+ Q_UNUSED(videoConnection);
Q_ASSERT(captureDevice);
qt_set_framerate_limits(captureDevice, minFPS, maxFPS);
}
AVFPSRange qt_current_framerates(AVCaptureDevice *captureDevice, AVCaptureConnection *videoConnection)
{
+ Q_UNUSED(videoConnection);
Q_ASSERT(captureDevice);
AVFPSRange fps;