Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Commit c3f4a1c

Browse files
committed
Removed redundant if expression
1 parent 969cd83 commit c3f4a1c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/source_clang.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,8 +1119,6 @@ Source::ClangViewAutocomplete(file_path, language) {
11191119
return methods;
11201120
}
11211121
auto cxx_methods=clang_tokens->get_cxx_methods();
1122-
if(cxx_methods.size()==0)
1123-
return methods;
11241122
for(auto &method: cxx_methods) {
11251123
std::string row=std::to_string(method.second.line)+": "+Glib::Markup::escape_text(method.first);
11261124
//Add bold method token

0 commit comments

Comments
 (0)