[PATCH 2/2] BEAST: bstmain.cc: fix compilation problem (__unused undefined)
- From: Stefan Westerfeld <stefan space twc de>
- To: timj gnu org
- Cc: beast gnome org, Stefan Westerfeld <stefan space twc de>
- Subject: [PATCH 2/2] BEAST: bstmain.cc: fix compilation problem (__unused undefined)
- Date: Tue, 21 Feb 2017 14:14:22 +0100
Signed-off-by: Stefan Westerfeld <stefan space twc de>
---
beast-gtk/bstmain.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/beast-gtk/bstmain.cc b/beast-gtk/bstmain.cc
index 0ff53b3..6c5408d 100644
--- a/beast-gtk/bstmain.cc
+++ b/beast-gtk/bstmain.cc
@@ -537,7 +537,7 @@ static int
main_run_event_loop ()
{
// register embedded methods
- static __unused bool initialized = []() { Py_InitModule ("bst", embedded_bst_methods); return true; } ();
+ static RAPICORN_UNUSED bool initialized = []() { Py_InitModule ("bst", embedded_bst_methods); return true;
} ();
// run main loop from Python
String pyfile = Bse::Path::join (Bse::installpath (Bse::INSTALLPATH_PYBEASTDIR), "main.py");
--
2.7.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]