mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-05-31 16:21:13 +03:00
tests: Fix a valgrind warning.
This commit is contained in:
parent
7ecdc3e0d5
commit
060171028c
@ -20,6 +20,7 @@ static void torture_channel_select(void **state)
|
|||||||
fd = open("/dev/null", 0);
|
fd = open("/dev/null", 0);
|
||||||
assert_true(fd > 2);
|
assert_true(fd > 2);
|
||||||
|
|
||||||
|
FD_ZERO(&readfds);
|
||||||
FD_SET(fd, &readfds);
|
FD_SET(fd, &readfds);
|
||||||
|
|
||||||
for (i = 0; i < 10; i++) {
|
for (i = 0; i < 10; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user