diff --git a/unittest/force-styles/test_config_reader.cpp b/unittest/force-styles/test_config_reader.cpp index 4d9505003a..d885102f3e 100644 --- a/unittest/force-styles/test_config_reader.cpp +++ b/unittest/force-styles/test_config_reader.cpp @@ -317,8 +317,6 @@ void TestConfigReader::global_vector(const yaml_event_t &event) data >> num; for (std::size_t i = 0; i < num; ++i) { data >> value; - if (data.eof()) break; config.global_vector.push_back(value); } } -