readALU_DIP already returned a value in every case, but LGTM apparently did not get it.

This commit is contained in:
NewRisingSun
2021-04-08 17:27:41 +02:00
parent c06e25ed30
commit d14623a966

View File

@@ -187,8 +187,9 @@ static DECLFR(readALU_DIP) {
case 1: return (mul[0] *mul[1]) >>8; case 1: return (mul[0] *mul[1]) >>8;
case 2: return adder; case 2: return adder;
case 3: return test; case 3: return test;
} else // all others }
return X.DB; // all others
return X.DB;
} }
static DECLFW(writeALU) { static DECLFW(writeALU) {