mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 10:38:55 +00:00
platform_drv: avoid gcc 6 warnings
This commit is contained in:
parent
d8f60a8ea1
commit
1220a06c3b
@ -276,7 +276,7 @@ class Platform::Session_component : public Genode::Rpc_object<Session>
|
||||
throw Out_of_metadata();
|
||||
}
|
||||
|
||||
~Quota_reservation()
|
||||
~Quota_reservation() noexcept(false)
|
||||
{
|
||||
if (!guard.revert_withdraw(amount))
|
||||
throw Fatal();
|
||||
@ -624,9 +624,9 @@ class Platform::Session_component : public Genode::Rpc_object<Session>
|
||||
if (!find_dev_in_policy(policy_device, DOUBLET))
|
||||
return;
|
||||
|
||||
Genode::error("'", _label, "' - device "
|
||||
"'", Genode::Cstring(policy_device), "' "
|
||||
"is part of more than one policy");
|
||||
Genode::error("'", _label, "' - device "
|
||||
"'", Genode::Cstring(policy_device), "' "
|
||||
"is part of more than one policy");
|
||||
} catch (Genode::Xml_node::Nonexistent_attribute) {
|
||||
Genode::error("'", _label, "' - device node "
|
||||
"misses a 'name' attribute");
|
||||
|
Loading…
Reference in New Issue
Block a user