From e79281533d61dda90d1c5995345a66e6089c7501 Mon Sep 17 00:00:00 2001 From: Lars Schmertmann Date: Fri, 26 Jun 2020 14:43:02 +0200 Subject: Add ; to Q_UNUSED and UNUSED_PARAM This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: Iead53d18fd790fb2d870d80ef2db79666f0d2392 Reviewed-by: Shawn Rutledge Reviewed-by: Ulf Hermann --- src/3rdparty/masm/assembler/LinkBuffer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/3rdparty/masm/assembler/LinkBuffer.h') diff --git a/src/3rdparty/masm/assembler/LinkBuffer.h b/src/3rdparty/masm/assembler/LinkBuffer.h index ba57564a1d..ba5a98733e 100644 --- a/src/3rdparty/masm/assembler/LinkBuffer.h +++ b/src/3rdparty/masm/assembler/LinkBuffer.h @@ -93,7 +93,7 @@ public: #endif { #ifdef NDEBUG - UNUSED_PARAM(effort) + UNUSED_PARAM(effort); #endif // Simon: Moved this to the sub-classes linkCode(ownerUID, effort); } @@ -327,8 +327,8 @@ inline typename LinkBufferBase::Code template class ExecutableOffsetCalculator> inline void LinkBufferBase::linkCode(void* ownerUID, JITCompilationEffort effort) { - UNUSED_PARAM(ownerUID) - UNUSED_PARAM(effort) + UNUSED_PARAM(ownerUID); + UNUSED_PARAM(effort); ASSERT(!m_code); m_executableMemory = m_assembler->m_assembler.executableCopy(*m_globalData, ownerUID, effort); if (!m_executableMemory) @@ -435,8 +435,8 @@ inline void BranchCompactingLinkBuffer::makeExecutable() template inline void BranchCompactingLinkBuffer::linkCode(void* ownerUID, JITCompilationEffort effort) { - UNUSED_PARAM(ownerUID) - UNUSED_PARAM(effort) + UNUSED_PARAM(ownerUID); + UNUSED_PARAM(effort); ASSERT(!m_code); m_initialSize = m_assembler->m_assembler.codeSize(); m_executableMemory = m_globalData->executableAllocator.allocate(*m_globalData, m_initialSize, ownerUID, effort); -- cgit v1.2.3