mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 22:58:26 +00:00
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:
committed by
Norman Feske
parent
e3cba5dc6f
commit
7d30ffc907
@ -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); }
|
||||
|
Reference in New Issue
Block a user