diff --git a/src/gui/display-service.cpp b/src/gui/display-service.cpp index 4bfadbb60..475d9dc3b 100644 --- a/src/gui/display-service.cpp +++ b/src/gui/display-service.cpp @@ -107,7 +107,7 @@ namespace gui { ) , LUMIERA_INTERFACE_INLINE (versioncmp, int, (const char* a, const char* b), - {return 0;} ////////////////////////////////////////////TODO define version ordering + {(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering ) ); diff --git a/src/gui/guistart.cpp b/src/gui/guistart.cpp index 4fbb1bcac..04d8c3e0d 100644 --- a/src/gui/guistart.cpp +++ b/src/gui/guistart.cpp @@ -227,7 +227,7 @@ extern "C" { /* ================== define a lumieraorg_Gui instance ============ ) , LUMIERA_INTERFACE_INLINE (versioncmp, int, (const char* a, const char* b), - {return 0;} ////////////////////////////////////////////TODO define version ordering + {(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering ) ); diff --git a/src/gui/notification-service.cpp b/src/gui/notification-service.cpp index 4c6007eb4..a88ceb456 100644 --- a/src/gui/notification-service.cpp +++ b/src/gui/notification-service.cpp @@ -164,7 +164,7 @@ namespace gui { ) , LUMIERA_INTERFACE_INLINE (versioncmp, int, (const char* a, const char* b), - {return 0;} ////////////////////////////////////////////TODO define version ordering + {(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering ) ); diff --git a/src/proc/control/session-command-service.cpp b/src/proc/control/session-command-service.cpp index 7699b5865..7259026ad 100644 --- a/src/proc/control/session-command-service.cpp +++ b/src/proc/control/session-command-service.cpp @@ -150,7 +150,7 @@ namespace control { ) , LUMIERA_INTERFACE_INLINE (versioncmp, int, (const char* a, const char* b), - {return 0;} ////////////////////////////////////////////TODO define version ordering + {(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering ) ); diff --git a/src/proc/play/dummy-player-service.cpp b/src/proc/play/dummy-player-service.cpp index 737d7ebd7..774e29785 100644 --- a/src/proc/play/dummy-player-service.cpp +++ b/src/proc/play/dummy-player-service.cpp @@ -165,7 +165,7 @@ namespace proc { ) , LUMIERA_INTERFACE_INLINE (versioncmp, int, (const char* a, const char* b), - {return 0;} ////////////////////////////////////////////TODO define version ordering + {(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering ) ); diff --git a/tests/core/application/test-interfaces.c b/tests/core/application/test-interfaces.c index bbae36bf5..16db80433 100644 --- a/tests/core/application/test-interfaces.c +++ b/tests/core/application/test-interfaces.c @@ -93,31 +93,32 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0, testrelease, LUMIERA_INTERFACE_INLINE (name, const char*, (LumieraInterface iface), - {return "LumieraTest";} + {(void)iface; return "LumieraTest";} ), LUMIERA_INTERFACE_INLINE (brief, const char*, (LumieraInterface iface), - {return "Lumiera Test suite examples";} + {(void)iface; return "Lumiera Test suite examples";} ), LUMIERA_INTERFACE_INLINE (homepage, const char*, (LumieraInterface iface), - {return "http://www.lumiera.org/develompent.html";} + {(void)iface; return "http://www.lumiera.org/develompent.html";} ), LUMIERA_INTERFACE_INLINE (version, const char*, (LumieraInterface iface), - {return "No Version";} + {(void)iface; return "No Version";} ), LUMIERA_INTERFACE_INLINE (author, const char*, (LumieraInterface iface), - {return "Christian Thaeter";} + {(void)iface; return "Christian Thaeter";} ), LUMIERA_INTERFACE_INLINE (email, const char*, (LumieraInterface iface), - {return "ct@pipapo.org";} + {(void)iface; return "ct@pipapo.org";} ), LUMIERA_INTERFACE_INLINE (copyright, const char*, (LumieraInterface iface), { + (void)iface; return "Copyright (C) Lumiera.org\n" " 2008 Christian Thaeter "; @@ -126,6 +127,7 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0, LUMIERA_INTERFACE_INLINE (license, const char*, (LumieraInterface iface), { + (void)iface; return "This program is free software; you can redistribute it and/or modify\n" "it under the terms of the GNU General Public License as published by\n" @@ -145,12 +147,12 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0, LUMIERA_INTERFACE_INLINE (state, int, (LumieraInterface iface), - {return LUMIERA_INTERFACE_EXPERIMENTAL;} + {(void)iface; return LUMIERA_INTERFACE_EXPERIMENTAL;} ), LUMIERA_INTERFACE_INLINE (versioncmp, int, (const char* a, const char* b), - {return 0;} + {(void)a;(void)b; return 0;} ) ); diff --git a/tests/plugin/test-c-plugin/example-plugin.c b/tests/plugin/test-c-plugin/example-plugin.c index 438f75f50..c61bbd4d5 100644 --- a/tests/plugin/test-c-plugin/example-plugin.c +++ b/tests/plugin/test-c-plugin/example-plugin.c @@ -109,31 +109,32 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0, NULL, NULL, NULL, LUMIERA_INTERFACE_INLINE (name, const char*, (LumieraInterface iface), - {return "LumieraTest";} + {(void)iface; return "LumieraTest";} ), LUMIERA_INTERFACE_INLINE (brief, const char*, (LumieraInterface iface), - {return "Lumiera Test suite examples";} + {(void)iface; return "Lumiera Test suite examples";} ), LUMIERA_INTERFACE_INLINE (homepage, const char*, (LumieraInterface iface), - {return "http://www.lumiera.org/develompent.html";} + {(void)iface; return "http://www.lumiera.org/develompent.html";} ), LUMIERA_INTERFACE_INLINE (version, const char*, (LumieraInterface iface), - {return "No Version";} + {(void)iface; return "No Version";} ), LUMIERA_INTERFACE_INLINE (author, const char*, (LumieraInterface iface), - {return "Christian Thaeter";} + {(void)iface; return "Christian Thaeter";} ), LUMIERA_INTERFACE_INLINE (email, const char*, (LumieraInterface iface), - {return "ct@pipapo.org";} + {(void)iface; return "ct@pipapo.org";} ), LUMIERA_INTERFACE_INLINE (copyright, const char*, (LumieraInterface iface), { + (void)iface; return "Copyright (C) Lumiera.org\n" " 2008 Christian Thaeter "; @@ -142,6 +143,7 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0, LUMIERA_INTERFACE_INLINE (license, const char*, (LumieraInterface iface), { + (void)iface; return "This program is free software; you can redistribute it and/or modify\n" "it under the terms of the GNU General Public License as published by\n" @@ -161,12 +163,12 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0, LUMIERA_INTERFACE_INLINE (state, int, (LumieraInterface iface), - {return LUMIERA_INTERFACE_EXPERIMENTAL;} + {(void)iface; return LUMIERA_INTERFACE_EXPERIMENTAL;} ), LUMIERA_INTERFACE_INLINE (versioncmp, int, (const char* a, const char* b), - {return 0;} + {(void)a;(void)b; return 0;} ) );