Browse Source

Fix build.

pull/987/head
Siegfried Pammer 8 years ago
parent
commit
5814374306
  1. 2
      ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs

2
ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs

@ -431,7 +431,7 @@ namespace ICSharpCode.Decompiler.CSharp.Transforms @@ -431,7 +431,7 @@ namespace ICSharpCode.Decompiler.CSharp.Transforms
default:
continue;
}
if (!VariableNeedsDeclaration(ilVar.Kind)) continue;
if (ilVar == null || !VariableNeedsDeclaration(ilVar.Kind)) continue;
var v = variableDict[ilVar];
if (!v.RemovedDueToCollision) continue;
while (v.RemovedDueToCollision) {

Loading…
Cancel
Save