mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
base: Drop unused _ram member variable
Its initialized in constructor but never used. Spotted when building the code with clang. Issue #3938
This commit is contained in:
parent
9c3ce58e57
commit
18be6315cb
@ -309,7 +309,6 @@ class Genode::Trace::Subject_registry
|
||||
typedef List<Subject> Subjects;
|
||||
|
||||
Allocator &_md_alloc;
|
||||
Ram_allocator &_ram;
|
||||
Source_registry &_sources;
|
||||
unsigned _id_cnt { 0 };
|
||||
Mutex _mutex { };
|
||||
@ -396,10 +395,10 @@ class Genode::Trace::Subject_registry
|
||||
* \param ram allocator used for the allocation of trace
|
||||
* buffers and policy dataspaces.
|
||||
*/
|
||||
Subject_registry(Allocator &md_alloc, Ram_allocator &ram,
|
||||
Subject_registry(Allocator &md_alloc,
|
||||
Source_registry &sources)
|
||||
:
|
||||
_md_alloc(md_alloc), _ram(ram), _sources(sources)
|
||||
_md_alloc(md_alloc), _sources(sources)
|
||||
{ }
|
||||
|
||||
/**
|
||||
|
@ -185,7 +185,7 @@ Session_component::Session_component(Rpc_entrypoint &ep,
|
||||
_parent_levels(parent_levels),
|
||||
_sources(sources),
|
||||
_policies(policies),
|
||||
_subjects(_subjects_slab, _ram, _sources),
|
||||
_subjects(_subjects_slab, _sources),
|
||||
_argument_buffer(_ram, local_rm, arg_buffer_size)
|
||||
{ }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user