diff --git a/docopt.cpp b/docopt.cpp index c6ee9b9..e2d8656 100644 --- a/docopt.cpp +++ b/docopt.cpp @@ -617,7 +617,7 @@ docopt::docopt_parse(std::string const& doc, bool options_first) { Required pattern; - std::vector options; + std::vector options{}; try { std::tie(pattern, options) = create_pattern_tree(doc); } catch (Tokens::OptionError const& error) {