tests: Initialize readfds in torture_channel_select()

CID 1393905

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-08-06 08:46:37 +02:00
parent 9bc050d07d
commit aeefcd8199

View File

@@ -12,7 +12,7 @@
static void torture_channel_select(void **state)
{
fd_set readfds;
fd_set readfds = {0};
int fd;
int rc;
int i;