summaryrefslogtreecommitdiff
path: root/tools/preproc/utf8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/preproc/utf8.cpp')
-rw-r--r--tools/preproc/utf8.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/preproc/utf8.cpp b/tools/preproc/utf8.cpp
index 0aed83f4a..7facfd44e 100644
--- a/tools/preproc/utf8.cpp
+++ b/tools/preproc/utf8.cpp
@@ -61,8 +61,6 @@ static const unsigned char s_transitionTable[] =
};
// Decodes UTF-8 encoded Unicode code point at "s".
-// If the encoding is valid, it returns the code point and advances "s" past the byte sequence.
-// If the encoding is not valid, it returns -1 and doesn't advance "s".
UnicodeChar DecodeUtf8(const char* s)
{
UnicodeChar unicodeChar;