From f3d9409a8afe0ba805060aaebf5389c866807e72 Mon Sep 17 00:00:00 2001 From: Lars Schmertmann Date: Sat, 27 Jun 2020 12:54:18 +0200 Subject: Add ; to Q_UNUSED This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I5466906d759a7cc046d77a21e2c647a4b938d070 Reviewed-by: Val Doroshchuk --- src/plugins/directshow/common/directshowpin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins/directshow/common/directshowpin.cpp') diff --git a/src/plugins/directshow/common/directshowpin.cpp b/src/plugins/directshow/common/directshowpin.cpp index d8129748c..d80b0b08e 100644 --- a/src/plugins/directshow/common/directshowpin.cpp +++ b/src/plugins/directshow/common/directshowpin.cpp @@ -360,7 +360,7 @@ bool DirectShowPin::setMediaType(const AM_MEDIA_TYPE *type) HRESULT DirectShowPin::completeConnection(IPin *pin) { - Q_UNUSED(pin) + Q_UNUSED(pin); return S_OK; } @@ -371,7 +371,7 @@ HRESULT DirectShowPin::connectionEnded() HRESULT DirectShowPin::setActive(bool active) { - Q_UNUSED(active) + Q_UNUSED(active); return S_OK; } @@ -566,7 +566,7 @@ HRESULT DirectShowInputPin::GetAllocator(IMemAllocator **ppAllocator) HRESULT DirectShowInputPin::NotifyAllocator(IMemAllocator *pAllocator, BOOL bReadOnly) { - Q_UNUSED(bReadOnly) + Q_UNUSED(bReadOnly); if (!pAllocator) return E_POINTER; @@ -584,7 +584,7 @@ HRESULT DirectShowInputPin::NotifyAllocator(IMemAllocator *pAllocator, BOOL bRea HRESULT DirectShowInputPin::GetAllocatorRequirements(ALLOCATOR_PROPERTIES *pProps) { - Q_UNUSED(pProps) + Q_UNUSED(pProps); return E_NOTIMPL; } -- cgit v1.2.3