Jelajahi Sumber

Unused function

Source commit: 93ca49b9ed3f96e8e57dc30727f81fa8da4f80df
Martin Prikryl 10 tahun lalu
induk
melakukan
bcea0610a2
2 mengubah file dengan 0 tambahan dan 6 penghapusan
  1. 0 5
      source/core/PuttyIntf.cpp
  2. 0 1
      source/core/PuttyTools.h

+ 0 - 5
source/core/PuttyIntf.cpp

@@ -646,11 +646,6 @@ void FreeKey(TPrivateKey * PrivateKey)
   sfree(Ssh2Key);
 }
 //---------------------------------------------------------------------------
-UnicodeString KeyTypeName(TKeyType KeyType)
-{
-  return key_type_to_str(KeyType);
-}
-//---------------------------------------------------------------------------
 __int64 __fastcall ParseSize(UnicodeString SizeStr)
 {
   AnsiString AnsiSizeStr = AnsiString(SizeStr);

+ 0 - 1
source/core/PuttyTools.h

@@ -4,7 +4,6 @@
 //---------------------------------------------------------------------------
 enum TKeyType { ktUnopenable, ktUnknown, ktSSH1, ktSSH2, ktOpenSSH, ktSSHCom };
 TKeyType KeyType(UnicodeString FileName);
-UnicodeString KeyTypeName(TKeyType KeyType);
 bool IsKeyEncrypted(TKeyType KeyType, const UnicodeString & FileName, UnicodeString & Comment);
 struct TPrivateKey;
 TPrivateKey * LoadKey(TKeyType KeyType, const UnicodeString & FileName, const UnicodeString & Passphrase);