all: fix warnings uninitialize array or variable access

This commit is contained in:
Herman Semenoff
2026-05-17 06:24:40 +03:00
committed by Henrik Rydgård
parent 0092e266de
commit f4e52d5db5
+1 -1
View File
@@ -1953,7 +1953,7 @@ static int Count(const bool part[4]) {
void ARM64XEmitter::MOVI2R(ARM64Reg Rd, u64 imm, bool optimize)
{
unsigned int parts = Is64Bit(Rd) ? 4 : 2;
bool upload_part[4];
bool upload_part[4]{};
// Always start with a movz! Kills the dependency on the register.
bool use_movz = true;