base: Fix a number of warnings about unused parameters

The warnings are shown if components using the genode base are
compiled with -Wextra -Wall enabled.

Fixes #489.
This commit is contained in:
Torsten Hilbrich
2012-11-14 12:20:31 +01:00
committed by Norman Feske
parent e3cba5dc6f
commit 7d30ffc907
8 changed files with 21 additions and 21 deletions

View File

@ -39,7 +39,7 @@ namespace Genode {
Single_client() : _used(0) { }
void aquire(const char *args)
void aquire(const char *)
{
if (_used)
throw Root::Unavailable();
@ -56,7 +56,7 @@ namespace Genode {
*/
struct Multiple_clients
{
void aquire(const char *args) { }
void aquire(const char *) { }
void release() { }
};
@ -146,7 +146,7 @@ namespace Genode {
* \param args description of additional resources in the
* same format as used at session creation
*/
virtual void _upgrade_session(SESSION_TYPE *session, const char *args) { }
virtual void _upgrade_session(SESSION_TYPE *, const char *) { }
virtual void _destroy_session(SESSION_TYPE *session) {
destroy(_md_alloc, session); }