Просмотр исходного кода

FIX: DependenyGraph: Fixed infinite loop if an empty or commented line is encountered.

Sascha Zelzer лет назад: 15
Родитель
Сommit
74cb8067de
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Utilities/DGraph/DGraph.cpp

+ 1 - 0
Utilities/DGraph/DGraph.cpp

@@ -166,6 +166,7 @@ int main(int argc, char** argv)
     // Skip empty line or commented line
     if (line.isEmpty() || line.startsWith("#"))
       {
+      line = in.readLine();
       continue;
       }