[beast: 25/31] BSE: bsemidireceiver.cc bseparam.cc: silence compiler



commit 5dfca031a97560f5e7304e676f7daf593e42a8cf
Author: Tim Janik <timj gnu org>
Date:   Fri Jun 12 19:20:21 2015 +0200

    BSE: bsemidireceiver.cc bseparam.cc: silence compiler

 bse/bsemidireceiver.cc |    2 +-
 bse/bseparam.cc        |    4 ----
 2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/bse/bsemidireceiver.cc b/bse/bsemidireceiver.cc
index b72aa52..1d86363 100644
--- a/bse/bsemidireceiver.cc
+++ b/bse/bsemidireceiver.cc
@@ -1055,7 +1055,7 @@ MidiChannel::start_note (guint64         tick_stamp,
         }
   /* grab voice to override */
   if (!vswitch)
-    ; // FIXME: voice = override_candidate;
+    (void) override_candidate; // FIXME: voice = override_candidate;
 
   if (vswitch && vswitch->n_vinputs)
     {
diff --git a/bse/bseparam.cc b/bse/bseparam.cc
index 7679f58..eed5c68 100644
--- a/bse/bseparam.cc
+++ b/bse/bseparam.cc
@@ -5,10 +5,6 @@
 
 #define NULL_CHECKED(x)         ((x) && (x)[0] ? x : NULL)
 
-/* --- prototypes --- */
-extern void    bse_param_types_init    (void); /* sync with btype.cc */
-
-
 /* --- type initialization --- */
 void
 bse_param_types_init (void)    /* sync with btype.cc */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]