Next round of sonarlint cleanups

This commit is contained in:
Jasmine Iwanek
2023-06-26 12:47:04 -04:00
parent 2fe3bcd5d2
commit 21adfd4d50
176 changed files with 2791 additions and 1377 deletions

View File

@@ -131,6 +131,8 @@ hasp_write_data(uint8_t val, void *priv)
return;
}
break;
default:
break;
}
dev->status = 0;
@@ -163,6 +165,8 @@ hasp_write_data(uint8_t val, void *priv)
I guessed the implicit ones with a bit of trial and error */
dev->status = 0x20;
return;
default:
break;
}
}
@@ -199,6 +203,8 @@ hasp_write_data(uint8_t val, void *priv)
/* again, just the relevant bits instead of the true values */
dev->status = 0x20;
break;
default:
break;
}
} else if (dev->state == HASP_STATE_PASSWORD_END) {
if (val & 1) {