Browse Source

remove unnecessary else statement

pipelines/235045657
Jørgen Lien Sellæg 5 years ago
parent
commit
6d40ecd8cc
  1. 3
      src/source.cpp

3
src/source.cpp

@ -109,9 +109,6 @@ std::string Source::FixIt::string(BaseView &view) {
text = view.get_buffer()->get_text(view.get_iter_at_line_index(offsets.first.line, offsets.first.index), text = view.get_buffer()->get_text(view.get_iter_at_line_index(offsets.first.line, offsets.first.index),
view.get_iter_at_line_index(offsets.second.line, offsets.second.index)); view.get_iter_at_line_index(offsets.second.line, offsets.second.index));
} }
else {
text = "";
}
} }
if(type == Type::insert) if(type == Type::insert)

Loading…
Cancel
Save