mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Everywhere: Add braces to aggregate initializers
This fixes a couple of warnings emitted by Clang.
This commit is contained in:
parent
98260c5862
commit
2db4709c0c
Notes:
sideshowbarker
2024-07-18 10:05:44 +09:00
Author: https://github.com/BertalanD
Commit: 2db4709c0c
Pull-request: https://github.com/SerenityOS/serenity/pull/8470
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/gunnarbeutner ✅
3 changed files with 4 additions and 4 deletions
|
@ -383,7 +383,7 @@ Vector<DebugInfo::SourcePosition> DebugInfo::source_lines_in_scope(VariablesScop
|
|||
|
||||
DebugInfo::SourcePosition DebugInfo::SourcePosition::from_line_info(Dwarf::LineProgram::LineInfo const& line)
|
||||
{
|
||||
return { line.file, line.line, { line.address } };
|
||||
return { line.file, line.line, line.address };
|
||||
}
|
||||
|
||||
DebugInfo::SourcePositionWithInlines DebugInfo::get_source_position_with_inlines(u32 address) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue