diff options
author | nyamatongwe <unknown> | 2011-11-26 11:16:50 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-11-26 11:16:50 +1100 |
commit | 35d45027480e563c744561dd27e772fdfe103a56 (patch) | |
tree | 48bcce66e4acf8e315ca925721e4842703508bdf /src/Document.cxx | |
parent | 0ef62beae3fabdd071cd8158b2bed8891aedc66a (diff) | |
download | scintilla-mirror-35d45027480e563c744561dd27e772fdfe103a56.tar.gz |
Removed unreachable code. Issue described in bug 3440534.
Diffstat (limited to 'src/Document.cxx')
-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); |