From 0b015efcac4f6ce391ed3fb771911a099afaf270 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 11 Feb 2015 12:25:11 -0800 Subject: [PATCH] Compiler suggested cleanup --- AltairZ80/altairz80_net.c | 1 - H316/h316_udp.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/AltairZ80/altairz80_net.c b/AltairZ80/altairz80_net.c index d845958f..f523034a 100644 --- a/AltairZ80/altairz80_net.c +++ b/AltairZ80/altairz80_net.c @@ -152,7 +152,6 @@ static t_stat net_reset(DEVICE *dptr) { static t_stat net_attach(UNIT *uptr, char *cptr) { uint32 i; char host[CBUFSIZE], port[CBUFSIZE]; - t_stat r; if (sim_parse_addr (cptr, host, sizeof(host), "localhost", port, sizeof(port), "3000", NULL)) return SCPE_ARG; diff --git a/H316/h316_udp.c b/H316/h316_udp.c index 79e11f06..c1cb3a2f 100644 --- a/H316/h316_udp.c +++ b/H316/h316_udp.c @@ -215,7 +215,7 @@ t_stat udp_parse_remote (int32 link, char *premote) // yourself!! In both cases, "w.x.y.z" is a dotted IP for the remote machine // and "name.domain.com" is its name (which will be looked up to get the IP). // If the host name/IP is omitted then it defaults to "localhost". - char *end; int32 lport, rport; t_stat ret; + char *end; int32 lport, rport; char host[64], port[16]; if (*premote == '\0') return SCPE_2FARG; memset (udp_links[link].lport, 0, sizeof(udp_links[link].lport));