mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
base: fix gcc-6.3 warning (check null ref)
The check that triggers the warning was solely in place for diagnostic purposes. We can remove it.
This commit is contained in:
parent
1220a06c3b
commit
11aadd4ce8
@ -191,10 +191,6 @@ class Genode::Capability_space_tpl
|
||||
|
||||
Capability_space::Ipc_cap_data ipc_cap_data(Data const &data) const
|
||||
{
|
||||
if (&data == nullptr) {
|
||||
raw("ipc_cap_data nullptr");
|
||||
for (;;);
|
||||
}
|
||||
return { data.dst, data.rpc_obj_key() };
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user