Bläddra i källkod

Removing noop code

(cherry picked from commit ba3c2721a90c8174aa0c25994ab806cb5e385318)

Source commit: 319f4b5b3395fc0080c6f27968b93609017580bb
Martin Prikryl 3 år sedan
förälder
incheckning
96ae60100d
1 ändrade filer med 0 tillägg och 4 borttagningar
  1. 0 4
      source/core/SecureShell.cpp

+ 0 - 4
source/core/SecureShell.cpp

@@ -650,10 +650,6 @@ const UnicodeString FailedMsg(L" failed:");
 void __fastcall TSecureShell::PuttyLogEvent(const char * AStr)
 {
   UnicodeString Str = ConvertFromPutty(AStr, strlen(AStr));
-  if (Str.Pos(L"failed") > 0)
-  {
-    Str += L"";
-  }
   // Gross hack
   if (StartsStr(ServerVersionMsg, Str))
   {