aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--backends/ola.cpp2
-rw-r--r--midimonster.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/ola.cpp b/backends/ola.cpp
index c9c535c..632cef7 100644
--- a/backends/ola.cpp
+++ b/backends/ola.cpp
@@ -242,7 +242,7 @@ static int ola_start(){
ola_select->AddReadDescriptor(ola_socket);
- fprintf(stderr, "OLA backend registering %zu descriptors to core\n", 1);
+ fprintf(stderr, "OLA backend registering connection descriptor to core\n");
if(mm_manage_fd(ola_socket->ReadDescriptor(), BACKEND_NAME, 1, NULL)){
goto bail;
}
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;