From 55effffbfb29face735136d8194f382d0b6ac4d3 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 10 Jan 2023 04:04:53 +0100 Subject: [PATCH] Fixed warning in scsi/scsi_spock.c. --- src/scsi/scsi_spock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scsi/scsi_spock.c b/src/scsi/scsi_spock.c index 0f618df95..f8dc3282e 100644 --- a/src/scsi/scsi_spock.c +++ b/src/scsi/scsi_spock.c @@ -516,7 +516,7 @@ spock_process_imm_cmd(spock_t *scsi) static void spock_execute_cmd(spock_t *scsi, scb_t *scb) { - int c, j; + int c, j = 0; int old_scb_state; if (scsi->in_reset) {