diff options
author | Rustan Leino <unknown> | 2014-01-13 17:54:53 -0800 |
---|---|---|
committer | Rustan Leino <unknown> | 2014-01-13 17:54:53 -0800 |
commit | 48d3c16cb2a20e3a0c761c590abe28adaa47fbfd (patch) | |
tree | bfbecdfa19497ffa45429bc8ba9a64ea0e25ac27 /Source/DafnyDriver | |
parent | 3b35d02abf92afa66872a1e0e246326eb414d4cc (diff) |
Supply C# compiler switch /nowarn:0219, which suppresses any warning CS0219 about variables not being used.
Diffstat (limited to 'Source/DafnyDriver')
-rw-r--r-- | Source/DafnyDriver/DafnyDriver.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/DafnyDriver/DafnyDriver.cs b/Source/DafnyDriver/DafnyDriver.cs index 4983c51f..ba4a9d2c 100644 --- a/Source/DafnyDriver/DafnyDriver.cs +++ b/Source/DafnyDriver/DafnyDriver.cs @@ -297,7 +297,7 @@ namespace Microsoft.Dafny cp.OutputAssembly = Path.ChangeExtension(dafnyProgramName, "dll");
cp.GenerateInMemory = false;
}
- cp.CompilerOptions = "/debug /nowarn:0164"; // warning CS0164 complains about unreferenced labels
+ cp.CompilerOptions = "/debug /nowarn:0164 /nowarn:0219"; // warning CS0164 complains about unreferenced labels, CS0219 is about unused variables
cp.ReferencedAssemblies.Add("System.Numerics.dll");
var cr = provider.CompileAssemblyFromSource(cp, csharpProgram);
|