mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
IPCCompiler: Default initialize all parameter member variables
PVS Studio static analysis noticed we didn't initialize these in a bunch of cases. This change fixes that so we will always initialize these using universal initialization.
This commit is contained in:
parent
4490668af2
commit
39e5b42f36
Notes:
sideshowbarker
2024-07-17 22:21:30 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/39e5b42f362 Pull-request: https://github.com/SerenityOS/serenity/pull/11366 Reviewed-by: https://github.com/IdanHo ✅
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ private:
|
|||
parameter_generator.set("parameter.type", parameter.type);
|
||||
parameter_generator.set("parameter.name", parameter.name);
|
||||
parameter_generator.append(R"~~~(
|
||||
@parameter.type@ m_@parameter.name@;
|
||||
@parameter.type@ m_@parameter.name@ {};
|
||||
)~~~");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue