mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
os: Add missing {} around sub-object initializers.
Clang complains when a sub-object is initialized without {}. Issue #3950
This commit is contained in:
parent
50ab86cd72
commit
48220dfd9b
@ -253,7 +253,7 @@ void Pointer::Main::_update_pointer()
|
||||
_rom_registry.lookup(*this, _hovered_label);
|
||||
|
||||
try {
|
||||
Shape_report shape_report { 0, 0, 0, 0, 0, 0 };
|
||||
Shape_report shape_report { 0, 0, 0, 0, 0, { 0 } };
|
||||
|
||||
shape_module.read_content(*this, (char*)&shape_report, sizeof(shape_report));
|
||||
|
||||
|
@ -379,8 +379,8 @@ class Event_filter::Chargen_source : public Source, Source::Filter
|
||||
|
||||
struct Sequence
|
||||
{
|
||||
Codepoint seq[4] { Codepoint::INVALID, Codepoint::INVALID,
|
||||
Codepoint::INVALID, Codepoint::INVALID };
|
||||
Codepoint seq[4] { { Codepoint::INVALID }, { Codepoint::INVALID },
|
||||
{ Codepoint::INVALID }, { Codepoint::INVALID } };
|
||||
|
||||
unsigned len { 0 };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user