summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar LC2020-10-30 15:11:40 -0400
committerGravatar GitHub2020-10-30 15:11:40 -0400
commit6db0c0d8d919459966bd59491450cd10be859b78 (patch)
treee3e9fa06d1093b0b85a149da4eb3c9b5b55ddcfb
parentCMakeLists: Resolve MSVC build failures (diff)
parentvideo_core: unbreak -Werror in NVDEC with Clang (diff)
downloadyuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar.gz
yuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar.xz
yuzu-6db0c0d8d919459966bd59491450cd10be859b78.zip
Merge pull request #4872 from jbeich/clang
video_core: unbreak -Werror in NVDEC with Clang
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp
index 85792495f..30f03f845 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp
@@ -38,7 +38,7 @@ std::size_t WriteVectors(std::vector<u8>& dst, const std::vector<T>& src, std::s
38 38
39namespace NvErrCodes { 39namespace NvErrCodes {
40constexpr u32 Success{}; 40constexpr u32 Success{};
41constexpr u32 OutOfMemory{static_cast<u32>(-12)}; 41[[maybe_unused]] constexpr u32 OutOfMemory{static_cast<u32>(-12)};
42constexpr u32 InvalidInput{static_cast<u32>(-22)}; 42constexpr u32 InvalidInput{static_cast<u32>(-22)};
43} // namespace NvErrCodes 43} // namespace NvErrCodes
44 44