Ignore initializesock() return value when unused
authorAri Johnson <ari@theari.com>
Tue, 19 Apr 2011 05:02:21 +0000 (01:02 -0400)
committerAri Johnson <ari@theari.com>
Tue, 19 Apr 2011 05:02:21 +0000 (01:02 -0400)
src/bsd.c

index d26581c34274a7e9097437850591bab1902947fe..69357b2a9d7dc6401d4e7212e99798473fddf78e 100644 (file)
--- a/src/bsd.c
+++ b/src/bsd.c
@@ -1017,7 +1017,7 @@ shovechars(Port_t port __attribute__ ((__unused__)),
     if (console_output >= maxd)
       maxd = console_output + 1;
 
-    d = initializesock(console_input, console_output, "localhost", "127.0.0.1", 0);
+    initializesock(console_input, console_output, "localhost", "127.0.0.1", 0);
 
     sock = 0;
 #ifdef HAS_OPENSSL