aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/network.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/FICS/network.c b/FICS/network.c
index 28f4408..29c0041 100644
--- a/FICS/network.c
+++ b/FICS/network.c
@@ -107,9 +107,7 @@ net_addConnection(int fd, unsigned int fromHost)
PRIVATE int
remConnection(int fd)
{
- int which;
-
- if ((which = findConnection(fd)) < 0)
+ if (findConnection(fd) < 0)
return -1;
numConnections--;