diff --git a/clangcomplete.py b/clangcomplete.py index 7430f03..31924d0 100644 --- a/clangcomplete.py +++ b/clangcomplete.py @@ -101,8 +101,7 @@ def accumulate_options(path): for f in filenames: if f.endswith('compile_commands.json'): flags.extend(merge_flags(parse_compile_commands(root, f), flags)) - return split_flags(flags); - if f.endswith('flags.make'): + if f.endswith('flags.make'): flags.extend(merge_flags(parse_flags(os.path.join(root, f)), flags)) return split_flags(flags)