Browse Source

Fixed uninitialized warning

pipelines/235045657
eidheim 5 years ago
parent
commit
5c6af4a8fe
  1. 2
      src/grep.cpp

2
src/grep.cpp

@ -71,7 +71,7 @@ Grep::Location Grep::get_location(std::string line, bool color_codes_to_markup,
return false;
};
bool open = false;
size_t start;
size_t start = 0;
line.clear();
line.reserve(escaped.size());
for(size_t i = 0; i < escaped.size(); ++i) {

Loading…
Cancel
Save