summaryrefslogtreecommitdiff
path: root/src/htslib.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-07-20 07:53:05 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-07-20 07:53:05 +0000
commit5237bd6f1327527b4df4a4b45558965453efa18e (patch)
tree6a513299e3e3f51978f0d15e1a6fa4d264746a27 /src/htslib.c
parent8eaf0a1e180e96fc09d88fe90864dfdec53d7360 (diff)
Fixed warnings
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));