aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libutil/error.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/error.cc b/src/libutil/error.cc
index 124603c34..fd6f69b7f 100644
--- a/src/libutil/error.cc
+++ b/src/libutil/error.cc
@@ -110,6 +110,7 @@ std::optional<LinesOfCode> getCodeLines(const ErrPos &errPos)
int pl = errPos.line - 1;
LinesOfCode loc;
+
do
{
std::getline(iss, line);