C#: Inline out variable declarations

This commit is contained in:
Tamas Vajk
2020-10-02 11:04:25 +02:00
parent f2e6b42aa4
commit ec63acfb0c
10 changed files with 25 additions and 30 deletions

View File

@@ -23,11 +23,9 @@ namespace Semmle.Extraction.CIL.Driver
static void ExtractAssembly(Layout layout, string assemblyPath, ILogger logger, bool nocache, bool extractPdbs, TrapWriter.CompressionMode trapCompression)
{
string trapFile;
bool extracted;
var sw = new Stopwatch();
sw.Start();
Entities.Assembly.ExtractCIL(layout, assemblyPath, logger, nocache, extractPdbs, trapCompression, out trapFile, out extracted);
Entities.Assembly.ExtractCIL(layout, assemblyPath, logger, nocache, extractPdbs, trapCompression, out _, out _);
sw.Stop();
logger.Log(Severity.Info, " {0} ({1})", assemblyPath, sw.Elapsed);
}