summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2020-10-30 20:11:40 +0100
committerGitHub <noreply@github.com>2020-10-30 20:11:40 +0100
commit6db0c0d8d919459966bd59491450cd10be859b78 (patch)
treee3e9fa06d1093b0b85a149da4eb3c9b5b55ddcfb /src/core/hle/service/nvdrv
parentCMakeLists: Resolve MSVC build failures (diff)
parentvideo_core: unbreak -Werror in NVDEC with Clang (diff)
downloadyuzu-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/core/hle/service/nvdrv')
-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
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