diff options
author | LC <mathew1800@gmail.com> | 2020-10-30 20:11:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 20:11:40 +0100 |
commit | 6db0c0d8d919459966bd59491450cd10be859b78 (patch) | |
tree | e3e9fa06d1093b0b85a149da4eb3c9b5b55ddcfb /src | |
parent | CMakeLists: Resolve MSVC build failures (diff) | |
parent | video_core: unbreak -Werror in NVDEC with Clang (diff) | |
download | yuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar yuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar.gz yuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar.bz2 yuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar.lz yuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar.xz yuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar.zst yuzu-6db0c0d8d919459966bd59491450cd10be859b78.zip |
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 |