瀏覽代碼

Inline variable declaration

(cherry picked from commit 48f34a2071826a029aa0b1051ff4b05a4a381abe)

Source commit: 23c19df82a327a81a5be71e0223b41354b79b47c
Martin Prikryl 5 年之前
父節點
當前提交
e0728d5bf7
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      dotnet/internal/ExeSessionProcess.cs

+ 1 - 2
dotnet/internal/ExeSessionProcess.cs

@@ -1032,8 +1032,7 @@ namespace WinSCP
                         long size = new FileInfo(exePath).Length;
                         _logger.WriteLine($"Size of the executable file is {size}");
 
-                        int handle;
-                        int verInfoSize = GetFileVersionInfoSize(exePath, out handle);
+                        int verInfoSize = GetFileVersionInfoSize(exePath, out int handle);
                         if (verInfoSize == 0)
                         {
                             throw new Exception($"Cannot retrieve {exePath} version info", new Win32Exception());