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:
Brian Gianforcaro 2021-12-22 01:24:16 -08:00 committed by Brian Gianforcaro
parent 4490668af2
commit 39e5b42f36
Notes: sideshowbarker 2024-07-17 22:21:30 +09:00

View file

@ -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@ {};
)~~~");
}