From fd5efc8828250757343f77853a7185c6f69e82db Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Sat, 17 Mar 2007 02:09:37 +0000 Subject: [PATCH] Workaround gcc warnings git-svn-id: svn://svn.gna.org/svn/gmidimonitor/trunk@23 d9434dc6-2408-0410-b8be-9e73975a53a3 --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index 4cccba3..5e568a9 100644 --- a/main.c +++ b/main.c @@ -367,6 +367,11 @@ midi_thread(void * context_ptr) (unsigned int)event_ptr->time.time.tv_nsec); channel_str_ptr = g_string_new(""); + /* Workaround for compiler warnings... */ + drum_name = NULL; + note_name = NULL; + octave = 0; + if (event_ptr->type == SND_SEQ_EVENT_NOTE || event_ptr->type == SND_SEQ_EVENT_NOTEON || event_ptr->type == SND_SEQ_EVENT_NOTEOFF || -- 2.11.4.GIT