diff --git a/Code/Editor/Clipboard.h b/Code/Editor/Clipboard.h index ccca0db028..89744325c8 100644 --- a/Code/Editor/Clipboard.h +++ b/Code/Editor/Clipboard.h @@ -53,10 +53,9 @@ private: AZ_PUSH_DISABLE_DLL_EXPORT_MEMBER_WARNING static XmlNodeRef m_node; - AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING static QString m_title; - static QVariant s_pendingPut; + AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING QWidget* m_parent; QTimer m_putDebounce; diff --git a/Gems/Atom/RHI/Vulkan/Code/Source/RHI/SwapChain.cpp b/Gems/Atom/RHI/Vulkan/Code/Source/RHI/SwapChain.cpp index 5e1462321f..0be2a76088 100644 --- a/Gems/Atom/RHI/Vulkan/Code/Source/RHI/SwapChain.cpp +++ b/Gems/Atom/RHI/Vulkan/Code/Source/RHI/SwapChain.cpp @@ -267,7 +267,7 @@ namespace AZ info.pImageIndices = &imageIndex; info.pResults = nullptr; - VkResult result = vkQueuePresentKHR(vulkanQueue->GetNativeQueue(), &info); + [[maybe_unused]] VkResult result = vkQueuePresentKHR(vulkanQueue->GetNativeQueue(), &info); // Resizing window cause recreation of SwapChain after calling this method, // so VK_SUBOPTIMAL_KHR or VK_ERROR_OUT_OF_DATE_KHR should not happen at this point.