8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00

Having duplicated names is not a good practice.

This commit is contained in:
dimitr 2002-11-16 10:56:49 +00:00
parent fb8afc1326
commit 201666c3a0

View File

@ -225,18 +225,18 @@ void ConfigFile::loadConfig()
parameters.clear();
std::ifstream configFile(configFile.c_str());
std::ifstream configFileStream(configFile.c_str());
if (!configFile)
if (!configFileStream)
{
// config file does not exist, a warning message would be nice.
return;
}
string inputLine;
while (!configFile.eof())
while (!configFileStream.eof())
{
std::getline(configFile, inputLine);
std::getline(configFileStream, inputLine);
stripComments(inputLine);
stripLeadingWhiteSpace(inputLine);