1
0
Fork 0
forked from suyu/suyu

Merge pull request #4872 from jbeich/clang

video_core: unbreak -Werror in NVDEC with Clang
This commit is contained in:
LC 2020-10-30 15:11:40 -04:00 committed by GitHub
commit 6db0c0d8d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ std::size_t WriteVectors(std::vector<u8>& dst, const std::vector<T>& src, std::s
namespace NvErrCodes { namespace NvErrCodes {
constexpr u32 Success{}; 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)}; constexpr u32 InvalidInput{static_cast<u32>(-22)};
} // namespace NvErrCodes } // namespace NvErrCodes