summaryrefslogtreecommitdiff
path: root/src/htslib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htslib.c')
-rw-r--r--src/htslib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/htslib.c b/src/htslib.c
index 313b2ba..04243ff 100644
--- a/src/htslib.c
+++ b/src/htslib.c
@@ -2283,7 +2283,6 @@ T_SOC newhttp(httrackp * opt, const char *_iadr, htsblk * retour, int port,
}
#else
const int flags = fcntl(soc, F_GETFL, 0);
- unsigned long p = 1; // non bloquant
if (flags == -1 || fcntl(soc, F_SETFL, flags | O_NONBLOCK) == -1) {
snprintf(retour->msg, sizeof(retour->msg),
"Non-blocking socket failed: %s", strerror(errno));