From 9925ba83b8a2677d6f74c6c79ea2a61e86f27e88 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 20 Sep 2016 09:21:11 -0700 Subject: [PATCH] SCP: Remove unused variable declarations --- scp.c | 1 - sim_console.c | 1 - 2 files changed, 2 deletions(-) diff --git a/scp.c b/scp.c index 13985ddd..9c5af964 100644 --- a/scp.c +++ b/scp.c @@ -8142,7 +8142,6 @@ return cptr; const char *put_switches (char *buf, size_t bufsize, uint32 sw) { char *optr = buf; -size_t i = 0; int32 bit; memset (buf, 0, bufsize); diff --git a/sim_console.c b/sim_console.c index d4042693..05ed33c0 100644 --- a/sim_console.c +++ b/sim_console.c @@ -2038,7 +2038,6 @@ int32 sim_tt_inpcvt (int32 c, uint32 mode) uint32 md = mode & TTUF_M_MODE; if (md != TTUF_MODE_8B) { - uint32 par_bit = 0; uint32 par_mode = (mode >> TTUF_W_MODE) & TTUF_M_PAR; static int32 nibble_even_parity = 0x699600; /* bit array indicating the even parity for each index (offset by 8) */