fd.c:230 negative_returns: fd is passed to a parameter that cannot be negative.
net.c:65 check_return: Calling setsockopt(fd, 1, 2, (char *)&n, 4U) without checking return value.
net.c:77 check_return: Calling fdnoblock(fd) without checking return value.
net.c:112 check_return: Calling fdnoblock(cfd) without checking return value.
net.c:114 check_return: Calling setsockopt(cfd, IPPROTO_TCP, 1, (char *)&one, 4U) without checking return value.
net.c:144 leaked_storage: Variable result going out of scope leaks the storage it points to.
net.c:168 check_return: Calling fdnoblock(fd) without checking return value.
net.c:173 check_return: Calling setsockopt(fd, 1, 6, &n, 4U) without checking return value.
net.c:206 check_return: Calling getsockopt(fd, 1, 4, (void *)&n, &sn) without checking return value.
task.c:59 negative_returns: fd is passed to a parameter that cannot be negative.
tcpload.c:50 Calling fdread without checking return value (as is done elsewhere 4 out of 5 times).
tcpproxy.c:51 check_return: Calling fdnoblock(fd) without checking return value.
channel.c:338:2: warning: Undefined or garbage value returned to caller
channel.c:353:2: warning: Undefined or garbage value returned to caller
channel.c:368:2: warning: Undefined or garbage value returned to caller
channel.c:383:2: warning: Undefined or garbage value returned to caller
amd64-ucontext.h:3:25: warning: redefinition of typedef 'mcontext_t' is a C11 feature
amd64-ucontext.h:4:25: warning: redefinition of typedef 'ucontext_t' is a C11 feature
context.c:86:3: warning: indirection of non-volatile null pointer will be deleted, not trap
print.c:106:10: warning: variable ‘neg’ set but not used
tcpproxy.c:55:25: warning: cast to pointer from integer of different size
tcpproxy.c:64:7: warning: cast from pointer to integer of different size
testdelay.c:15:12: warning: cast from pointer to integer of different size
testdelay.c:16:32: warning: cast from pointer to integer of different size
testdelay.c:31:25: warning: cast to pointer from integer of different size