From edc93cf26321d5c5739fa2828938242e47751738 Mon Sep 17 00:00:00 2001 From: Sergey Svishchev Date: Sat, 11 Mar 2017 17:59:41 -0800 Subject: [PATCH] CDC1700: fix potential use of uninitialized value (Coverity Scan) --- CDC1700/cdc1700_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CDC1700/cdc1700_dp.c b/CDC1700/cdc1700_dp.c index 52a4501e..0d188ba4 100644 --- a/CDC1700/cdc1700_dp.c +++ b/CDC1700/cdc1700_dp.c @@ -623,7 +623,7 @@ void DPDiskIO(UNIT *uptr, uint16 iotype) { struct dpio_unit *iou = (struct dpio_unit *)uptr->up7; const char *error = "Unknown"; - enum dpio_status status; + enum dpio_status status = DPIO_ADDRERR; switch (iotype) { case DP_WRITE: