silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2020-06-11 19:05:06 -04:00
parent a8c1ce98cf
commit 9ca0d01a5b
13 changed files with 11 additions and 16 deletions

View File

@ -498,7 +498,7 @@ std::string utils::get_potential_date(const std::string & path, const std::strin
reader.ignore_comments = false;
char * line = nullptr;
while (line = reader.next_line()) {
while ((line = reader.next_line())) {
ValueTokenizer values(line);
while (values.has_next()) {
std::string word = values.next_string();