2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #7673 from german77/no_return

glsl: Remove unreachable return
This commit is contained in:
Mai M 2022-01-05 06:41:16 -05:00 committed by GitHub
commit 7116a7d28b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -131,7 +131,6 @@ std::string VarAlloc::AddDefine(IR::Inst& inst, GlslVarType type) {
} else { } else {
return ""; return "";
} }
return Representation(inst.Definition<Id>());
} }
std::string VarAlloc::Consume(const IR::Value& value) { std::string VarAlloc::Consume(const IR::Value& value) {

View file

@ -381,7 +381,7 @@ void FileEnvironment::Deserialize(std::ifstream& file) {
} }
} }
void FileEnvironment::Dump(u64 [[maybe_unused]] hash) { void FileEnvironment::Dump(u64 hash) {
DumpImpl(hash, code.get(), read_highest, read_lowest, initial_offset, stage); DumpImpl(hash, code.get(), read_highest, read_lowest, initial_offset, stage);
} }