Selaa lähdekoodia

Inline variable declaration

Source commit: bddbda7a481cb55900b7e4f238270f3900c93b18
Martin Prikryl 5 vuotta sitten
vanhempi
sitoutus
48f34a2071
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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());