1
0
mirror of https://github.com/simh/simh.git synced 2026-04-29 05:05:14 +00:00

Compiler suggested cleanups.

Mostly silencing noise warnings, but bugs were found in sim_console.c and pdp11_dmc.c
This commit is contained in:
Mark Pizzolato
2014-02-14 17:07:45 -08:00
parent dcbb89499e
commit 02cb5c2d88
44 changed files with 520 additions and 515 deletions

View File

@@ -1174,7 +1174,7 @@ return SCPE_OK;
int32 ReadDstr (int32 *dscr, DSTR *src, int32 flag)
{
int32 c, i, end, lnt, type, t;
int32 c, i, end, lnt, type, t = 0;
*src = Dstr0; /* clear result */
type = GET_DTYP (dscr[0]); /* get type */