[Mono-devel-list] Patch to rid corlib build of some warnings
Nick Drochak
ndrochak at gol.com
Tue Jan 6 11:02:39 EST 2004
Hi.
Here's a patch to remove some unused variables from corlib. Is it ok to
commit?
Thanks,
Nick D
Index: System.Reflection.Emit/AssemblyBuilder.cs
===================================================================
RCS file:
/cvs/public/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs,v
retrieving revision 1.62
diff -u -r1.62 AssemblyBuilder.cs
--- System.Reflection.Emit/AssemblyBuilder.cs 5 Jan 2004 17:33:57 -0000
1.62
+++ System.Reflection.Emit/AssemblyBuilder.cs 6 Jan 2004 15:44:07 -0000
@@ -367,7 +367,6 @@
}
private void DefineVersionInfoResourceImpl (string fileName)
{
- int res_index;
// Add missing info
version_res.FileVersion = version;
cvs server: Diffing System.Resources
Index: System.Resources/Win32Resources.cs
===================================================================
RCS file: /cvs/public/mcs/class/corlib/System.Resources/Win32Resources.cs,v
retrieving revision 1.3
diff -u -r1.3 Win32Resources.cs
--- System.Resources/Win32Resources.cs 5 Jan 2004 17:31:46 -0000 1.3
+++ System.Resources/Win32Resources.cs 6 Jan 2004 15:44:07 -0000
@@ -207,9 +207,6 @@
public void WriteTo (MemoryStream ms)
{
using (BinaryWriter w = new BinaryWriter (ms,
Encoding.Unicode)) {
- short len;
- long pos;
-
//
// See the documentation for the VS_VERSIONINFO
structure and
// its children on MSDN
More information about the Mono-devel-list
mailing list