From: Jonas Devlieghere Date: Tue, 21 Jul 2020 17:14:30 +0000 (-0700) Subject: [lldb] Add missing member initialziation list X-Git-Tag: llvmorg-13-init~17269 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd064afe84b3fd01ef3407dec0aeb22720450048;p=platform%2Fupstream%2Fllvm.git [lldb] Add missing member initialziation list My previous commit added the default arguments but didn't use them in the member initialization list... --- diff --git a/lldb/include/lldb/Interpreter/CommandObject.h b/lldb/include/lldb/Interpreter/CommandObject.h index b927c7e..d5ad969 100644 --- a/lldb/include/lldb/Interpreter/CommandObject.h +++ b/lldb/include/lldb/Interpreter/CommandObject.h @@ -96,7 +96,9 @@ public: CommandArgumentData(lldb::CommandArgumentType type = lldb::eArgTypeNone, ArgumentRepetitionType repetition = eArgRepeatPlain, - uint32_t opt_set = LLDB_OPT_SET_ALL) {} + uint32_t opt_set = LLDB_OPT_SET_ALL) + : arg_type(type), arg_repetition(repetition), + arg_opt_set_association(opt_set) {} }; typedef std::vector