Get rid of compiler warning warning C4127: conditional expression is constant

This commit is contained in:
Reijo Tomperi 2009-10-10 22:58:45 +03:00
parent 4c8f7fa7fb
commit efbe65dad6
1 changed files with 1 additions and 1 deletions

View File

@ -1027,7 +1027,7 @@ std::string Preprocessor::getcode(const std::string &filedata, std::string cfg,
std::map<std::string, std::string> cfgmap;
{
std::string::size_type pos = 0;
while (true)
for (;;)
{
std::string::size_type pos2 = cfg.find_first_of(";=", pos);
if (pos2 == std::string::npos)