1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-03-02 09:46:27 +00:00

Remove dead stores. (#240)

This commit is contained in:
Bruce Mitchener
2021-01-20 12:23:26 +07:00
committed by GitHub
parent 0a057dec6b
commit 6f7ec059bc
13 changed files with 14 additions and 48 deletions

View File

@@ -65,7 +65,7 @@ LispPTR rpc(LispPTR *args)
register int s, msec_until_timeout, msec_between_tries, out_length;
register int received;
register int port;
int dontblock, dest;
int dest;
unsigned fromlen;
fd_set read_descriptors;
struct timeval pertry_timeout, total_timeout, time_waited;
@@ -111,8 +111,6 @@ LispPTR rpc(LispPTR *args)
/* Open the socket; Might want to make this non-blocking */
if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) goto handle_error;
dontblock = 1;
/* The sockets that rpc controls don't block */
fcntl(s, F_SETFL, fcntl(s, F_GETFL, 0) | O_NONBLOCK);