ppcdisasm: fix Clang errors and warnings.

This commit is contained in:
Maxim Poliakovski 2020-02-08 21:54:45 +01:00 committed by dingusdev
parent ad0659a702
commit a934ed5bde

View File

@ -842,7 +842,7 @@ void opc_group31(PPCDisasmContext* ctx)
return;
break;
}
else if ((index == 18)) {
else if (index == 18) {
ctx->instr_str = my_sprintf("%-8s", opcode);
return;
}
@ -1164,7 +1164,7 @@ void opc_group63(PPCDisasmContext* ctx)
strcpy(opcode, "fsel");
if (rc_set)
strcat_s(opcode, ".");
strcat(opcode, ".");
if ((rc != 0) | (ra != 0))
opc_illegal(ctx);