From d14623a9662378e65a70d5f518c9b4f4ec014817 Mon Sep 17 00:00:00 2001 From: NewRisingSun <8vytz1+dhp372pv94ebg@sharklasers.com> Date: Thu, 8 Apr 2021 17:27:41 +0200 Subject: [PATCH] readALU_DIP already returned a value in every case, but LGTM apparently did not get it. --- src/boards/jyasic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/boards/jyasic.c b/src/boards/jyasic.c index 174bcc4..eb88070 100644 --- a/src/boards/jyasic.c +++ b/src/boards/jyasic.c @@ -187,8 +187,9 @@ static DECLFR(readALU_DIP) { case 1: return (mul[0] *mul[1]) >>8; case 2: return adder; case 3: return test; - } else // all others - return X.DB; + } + // all others + return X.DB; } static DECLFW(writeALU) {