1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

PDP10, ETHER, VIDEO, VAX: Fix set but unused variables.

This commit is contained in:
Lars Brinkhoff
2020-11-25 04:50:47 -08:00
committed by Mark Pizzolato
parent 86889c662c
commit 970fb8ec95
5 changed files with 4 additions and 10 deletions

View File

@@ -751,12 +751,12 @@ void eth_zero(ETH_DEV* dev)
dev->reflections = -1; /* not established yet */
}
static char* (*p_pcap_lib_version) (void);
static ETH_DEV **eth_open_devices = NULL;
static int eth_open_device_count = 0;
#if defined (USE_NETWORK) || defined (USE_SHARED)
static char* (*p_pcap_lib_version) (void);
static void _eth_add_to_open_list (ETH_DEV* dev)
{
eth_open_devices = (ETH_DEV**)realloc(eth_open_devices, (eth_open_device_count+1)*sizeof(*eth_open_devices));