mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1292 Fixed CppCheck Issues in FileInterface
This commit is contained in:
@@ -362,13 +362,12 @@ void RifEclipseInputFileTools::parseAndReadPathAliasKeyword(const QString &fileN
|
||||
data.open(QFile::ReadOnly);
|
||||
|
||||
QString line;
|
||||
qint64 lineLength = -1;
|
||||
|
||||
bool foundPathsKeyword = false;
|
||||
|
||||
do
|
||||
{
|
||||
lineLength = data.readLine(buf, sizeof(buf));
|
||||
qint64 lineLength = data.readLine(buf, sizeof(buf));
|
||||
if (lineLength > 0)
|
||||
{
|
||||
line = QString::fromAscii(buf);
|
||||
|
||||
Reference in New Issue
Block a user