mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-16 10:20:30 +00:00
Initialize all members.
This commit is contained in:
parent
5f61f714db
commit
988ba6273c
@ -299,7 +299,9 @@ protect_goal::protect_goal(readonly_context &context, const config &cfg, bool pr
|
||||
}
|
||||
|
||||
lua_goal::lua_goal(readonly_context &context, const config &cfg)
|
||||
: goal(context, cfg)
|
||||
: goal(context, cfg)
|
||||
, code_()
|
||||
, handler_()
|
||||
{
|
||||
if (cfg.has_attribute("code")) {
|
||||
code_ = cfg["code"].str();
|
||||
|
Loading…
x
Reference in New Issue
Block a user