mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-05 14:08:17 +01:00
Remove unreachable code (MSVC warnings)
This commit is contained in:
parent
a8a712c801
commit
5c0bb5cc63
24 changed files with 13 additions and 173 deletions
|
|
@ -237,7 +237,6 @@ struct PairedIndexer {
|
|||
return std::make_tuple(b[2 * i], b[2 * i + 1]);
|
||||
}
|
||||
UNREACHABLE();
|
||||
return {};
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -261,7 +260,6 @@ struct PairedLowerIndexer {
|
|||
return std::make_tuple(0, 0);
|
||||
} else {
|
||||
UNREACHABLE();
|
||||
return {};
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -1192,7 +1190,6 @@ void EmitFPVectorRoundInt(BlockOfCode& code, EmitContext& ctx, IR::Inst* inst) {
|
|||
default:
|
||||
UNREACHABLE();
|
||||
}
|
||||
return 0;
|
||||
}();
|
||||
|
||||
EmitTwoOpVectorOperation<fsize, DefaultIndexer>(code, ctx, inst, [&](const Xbyak::Xmm& result, const Xbyak::Xmm& xmm_a){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue