diff --git a/PowerEditor/src/ScitillaComponent/Buffer.cpp b/PowerEditor/src/ScitillaComponent/Buffer.cpp index 9a0e61fb1..550e7f788 100644 --- a/PowerEditor/src/ScitillaComponent/Buffer.cpp +++ b/PowerEditor/src/ScitillaComponent/Buffer.cpp @@ -1255,26 +1255,25 @@ LangType FileManager::detectLanguageFromTextBegining(const unsigned char *data, { // it detectes xml, php and bash script file std::string xmlHeader = ""; // length : 6 - std::string htmlHeader1 = ""; // length : 15 - - const size_t longestLength = htmlHeader1.length(); // longest length : html header Length - const size_t shortestLength = xmlHeader.length(); - - size_t i = 0; - + std::string htmlHeader1 = "