diff options
author | LC <mathew1800@gmail.com> | 2020-10-30 15:11:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 15:11:40 -0400 |
commit | 6db0c0d8d919459966bd59491450cd10be859b78 (patch) | |
tree | e3e9fa06d1093b0b85a149da4eb3c9b5b55ddcfb /src | |
parent | 14a97d082e996a22ff8aa7b57c3ed6fe5912b9cf (diff) | |
parent | 50e52ade85bfaff494e0e3367e7991d3bc3da23b (diff) |
Merge pull request #4872 from jbeich/clang
video_core: unbreak -Werror in NVDEC with Clang
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp | 2 |
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 namespace NvErrCodes { constexpr u32 Success{}; -constexpr u32 OutOfMemory{static_cast<u32>(-12)}; +[[maybe_unused]] constexpr u32 OutOfMemory{static_cast<u32>(-12)}; constexpr u32 InvalidInput{static_cast<u32>(-22)}; } // namespace NvErrCodes |