diff options
author | Michael Richardson <mcr@sandelman.ca> | 2020-12-29 17:11:21 -0500 |
---|---|---|
committer | Michael Richardson <mcr@sandelman.ca> | 2020-12-29 17:11:21 -0500 |
commit | fbb5e9eec8bac69c7eb21e97ed5b20751f54290e (patch) | |
tree | 5943ed19b93301f3758394ff9af4c03952fc8ad9 /testprogs/selpolltest.c | |
parent | a88c1f45ca4f3454dcd36c914e6ec64ef28b0c4a (diff) |
make some compilers be quiet about un-initialized variable, as per #982
Diffstat (limited to 'testprogs/selpolltest.c')
-rw-r--r-- | testprogs/selpolltest.c | 2 |
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; |