diff options
author | nyamatongwe <devnull@localhost> | 2011-11-26 11:16:50 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-11-26 11:16:50 +1100 |
commit | b0fac0b811b164f74d564782f99df76effd383c9 (patch) | |
tree | f79c6948ed27c95dd069685f26a1ccc84536ee4f /src | |
parent | e79bf3a5439bd2bb4b6f978e85326d87a979a1a8 (diff) | |
download | scintilla-mirror-b0fac0b811b164f74d564782f99df76effd383c9.tar.gz |
Removed unreachable code. Issue described in bug 3440534.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index c721c88ff..a0dc7f54c 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1461,7 +1461,7 @@ long Document::FindText(int minPos, int maxPos, const char *search, const int endPos = MovePositionOutsideChar(maxPos, increment, false); // Compute actual search ranges needed - const int lengthFind = (*length == -1) ? static_cast<int>(strlen(search)) : *length; + const int lengthFind = *length; //Platform::DebugPrintf("Find %d %d %s %d\n", startPos, endPos, ft->lpstrText, lengthFind); const int limitPos = Platform::Maximum(startPos, endPos); |