瀏覽代碼

Fix to 15897f23 (Bug 2066: In .NET assembly or scripting with "nul" configuration, when WinSCP registry key does not exist, do not write statistics to INI file)

Source commit: 10dd2fbf389979827347e29ec9292f7eff654a12
Martin Prikryl 3 年之前
父節點
當前提交
5dbe9d67ea
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      source/windows/WinConfiguration.cpp

+ 0 - 1
source/windows/WinConfiguration.cpp

@@ -844,7 +844,6 @@ bool __fastcall TWinConfiguration::CanWriteToStorage()
 bool TWinConfiguration::DetectStorage(bool SafeOnly)
 {
   bool Result;
-  FStorage = stIniFile;
   if (FileExists(ApiPath(IniFileStorageNameForReading)))
   {
     Result = !SafeOnly;