Explorar o código

add TODO for compiler warning

Andrey Filipenkov hai 1 mes
pai
achega
cf52af5caa
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      scripting/erm/ERMInterpreter.cpp

+ 1 - 0
scripting/erm/ERMInterpreter.cpp

@@ -1732,6 +1732,7 @@ namespace VERMInterpreter
 	}
 	VermTreeIterator & VermTreeIterator::operator=( const VOptionList & opt )
 	{
+		// TODO: warning: all paths through this function will call itself [-Winfinite-recursion]
 		return *this = opt;
 	}
 	VOption & VermTreeIterator::getAsItem()