aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.c
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-03-24 19:31:01 +0100
committercbdev <cb@cbcdn.com>2019-03-24 19:31:01 +0100
commit3949f80417f0361e79f22658a8b900b228f125f1 (patch)
treed06406116140048f1941527a91d75ea2b3b1ead9 /midimonster.c
parent1ed17293bedaf5bf5182d863cd406d7eb66b4501 (diff)
downloadmidimonster-3949f80417f0361e79f22658a8b900b228f125f1.tar.gz
midimonster-3949f80417f0361e79f22658a8b900b228f125f1.tar.bz2
midimonster-3949f80417f0361e79f22658a8b900b228f125f1.zip
Fix minor issues reported by Coverity Scan
Diffstat (limited to 'midimonster.c')
-rw-r--r--midimonster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/midimonster.c b/midimonster.c
index 00d11f3..043f9e2 100644
--- a/midimonster.c
+++ b/midimonster.c
@@ -244,7 +244,7 @@ static fd_set fds_collect(int* max_fd){
}
int main(int argc, char** argv){
- fd_set all_fds, read_fds;
+ fd_set all_fds = {}, read_fds;
event_collection* secondary = NULL;
struct timeval tv;
size_t u, n;