aboutsummaryrefslogtreecommitdiff
path: root/testprogs/selpolltest.c
diff options
context:
space:
mode:
authorMichael Richardson <mcr@sandelman.ca>2020-12-29 17:11:21 -0500
committerMichael Richardson <mcr@sandelman.ca>2020-12-29 17:11:21 -0500
commitfbb5e9eec8bac69c7eb21e97ed5b20751f54290e (patch)
tree5943ed19b93301f3758394ff9af4c03952fc8ad9 /testprogs/selpolltest.c
parenta88c1f45ca4f3454dcd36c914e6ec64ef28b0c4a (diff)
make some compilers be quiet about un-initialized variable, as per #982
Diffstat (limited to 'testprogs/selpolltest.c')
-rw-r--r--testprogs/selpolltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/selpolltest.c b/testprogs/selpolltest.c
index 569c8294..ab7f8f46 100644
--- a/testprogs/selpolltest.c
+++ b/testprogs/selpolltest.c
@@ -74,7 +74,7 @@ main(int argc, char **argv)
struct bpf_program fcode;
char ebuf[PCAP_ERRBUF_SIZE];
pcap_if_t *devlist;
- int selectable_fd;
+ int selectable_fd = -1;
const struct timeval *required_timeout;
int status;
int packet_count;