mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 15:14:13 +00:00
Everywhere: Remove unused local variables and lambda captures
This commit is contained in:
committed by
Gunnar Beutner
parent
5f7f063919
commit
ca06fd658d
@@ -699,19 +699,19 @@ NonnullRefPtr<GUI::Widget> build_graphs_tab()
|
||||
memory_graph.set_stack_values(true);
|
||||
memory_graph.set_value_format(0, {
|
||||
.graph_color_role = ColorRole::SyntaxComment,
|
||||
.text_formatter = [&memory_graph](int value) {
|
||||
.text_formatter = [](int value) {
|
||||
return String::formatted("Committed: {} KiB", value);
|
||||
},
|
||||
});
|
||||
memory_graph.set_value_format(1, {
|
||||
.graph_color_role = ColorRole::SyntaxPreprocessorStatement,
|
||||
.text_formatter = [&memory_graph](int value) {
|
||||
.text_formatter = [](int value) {
|
||||
return String::formatted("Allocated: {} KiB", value);
|
||||
},
|
||||
});
|
||||
memory_graph.set_value_format(2, {
|
||||
.graph_color_role = ColorRole::SyntaxPreprocessorValue,
|
||||
.text_formatter = [&memory_graph](int value) {
|
||||
.text_formatter = [](int value) {
|
||||
return String::formatted("Kernel heap: {} KiB", value);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user