mirror of
https://github.com/simh/simh.git
synced 2026-02-23 23:53:10 +00:00
Compiler warning cleanup
This commit is contained in:
@@ -244,7 +244,7 @@ static const int32 boot_rom[] = {
|
||||
|
||||
t_stat drm_boot (int32 unitno, DEVICE *dptr)
|
||||
{
|
||||
int32 i;
|
||||
size_t i;
|
||||
extern int32 PC;
|
||||
|
||||
if (drm_dib.dev != DEV_DRM) /* non-std addr? */
|
||||
|
||||
@@ -453,7 +453,6 @@ int32 clk_task_upd (t_bool clr)
|
||||
{
|
||||
uint32 delta, val, iusec10;
|
||||
uint32 cur = sim_grtime ();
|
||||
uint32 old = clk_task_timer;
|
||||
double usec10;
|
||||
|
||||
if (cur > clk_task_last)
|
||||
@@ -861,7 +860,8 @@ static const int32 boot_rom[] = {
|
||||
|
||||
t_stat ptr_boot (int32 unitno, DEVICE *dptr)
|
||||
{
|
||||
int32 i, mask, wd;
|
||||
size_t i;
|
||||
int32 mask, wd;
|
||||
extern int32 sim_switches;
|
||||
|
||||
#if defined (PDP7)
|
||||
|
||||
@@ -57,7 +57,7 @@ uint32 ttix_done = 0; /* input flags */
|
||||
uint32 ttox_done = 0; /* output flags */
|
||||
uint8 ttix_buf[TTX_MAXL] = { 0 }; /* input buffers */
|
||||
uint8 ttox_buf[TTX_MAXL] = { 0 }; /* output buffers */
|
||||
TMLN ttx_ldsc[TTX_MAXL] = { 0 }; /* line descriptors */
|
||||
TMLN ttx_ldsc[TTX_MAXL] = { {0} }; /* line descriptors */
|
||||
TMXR ttx_desc = { 1, 0, 0, ttx_ldsc }; /* mux descriptor */
|
||||
#define ttx_lines ttx_desc.lines /* current number of lines */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user