Commit 275c52ad by Alexander Popov

Don't use the uninitialized 'parsed_cmdline_options' variable

parent 295a293b
...@@ -1108,6 +1108,7 @@ def main(): ...@@ -1108,6 +1108,7 @@ def main():
if mode == 'verbose': if mode == 'verbose':
# print the parsed options without the checks (for debugging) # print the parsed options without the checks (for debugging)
all_parsed_options = parsed_kconfig_options # assignment does not copy all_parsed_options = parsed_kconfig_options # assignment does not copy
if args.cmdline:
all_parsed_options.update(parsed_cmdline_options) all_parsed_options.update(parsed_cmdline_options)
print_unknown_options(config_checklist, all_parsed_options) print_unknown_options(config_checklist, all_parsed_options)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment