diff --git a/CheckFunctionUsage.cpp b/CheckFunctionUsage.cpp index 056974e5b..af683185a 100644 --- a/CheckFunctionUsage.cpp +++ b/CheckFunctionUsage.cpp @@ -154,11 +154,11 @@ void CheckFunctionUsage::check() } else if ( ! func.usedOtherFile ) { -/* + /* TODO - add error message "function is only used in it can be static" std::ostringstream errmsg; errmsg << "The function '" << it->first << "' is only used in the file it was declared in so it should have local linkage."; _errorLogger->reportErr( errmsg.str() ); -*/ + */ } } } diff --git a/tokenize.cpp b/tokenize.cpp index 4a8a75e23..2abe20c1d 100644 --- a/tokenize.cpp +++ b/tokenize.cpp @@ -259,7 +259,7 @@ void Tokenizer::TokenizeCode(std::istream &code, const unsigned int FileIndex) std::string CurrentToken; for (char ch = (char)code.get(); code.good(); ch = (char)code.get()) { - // Todo + // We are not handling UTF and stuff like that. Code is supposed to plain simple text. if ( ch < 0 ) continue;