[Mono-devel-list] Two minor changes fix compiler warnings

Philip Van Hoof spamfrommailing at freax.org
Sat Oct 4 15:07:07 EDT 2003


Hi there, 

After a few weeks being busy with my new job I decided to restart mono
development ;). During the compilation of the latest cvs I fixed these
small compiler warnings (about unused variables).

hf.

Index: mono/mini/exceptions-x86.c
===================================================================
RCS file: /cvs/public/mono/mono/mini/exceptions-x86.c,v
retrieving revision 1.15
diff -u -u -r1.15 exceptions-x86.c
--- mono/mini/exceptions-x86.c  27 Sep 2003 14:26:32 -0000      1.15
+++ mono/mini/exceptions-x86.c  4 Oct 2003 19:18:33 -0000
@@ -329,7 +329,6 @@
 {
        struct frame_state state_in;
        struct frame_state *res;
-       guint8 const *code;
  
        if (!inited)
                init_frame_state_for ();
Index: mono/mini/ssa.c
===================================================================
RCS file: /cvs/public/mono/mono/mini/ssa.c,v
retrieving revision 1.4
diff -u -u -r1.4 ssa.c
--- mono/mini/ssa.c     6 Jun 2003 13:05:31 -0000       1.4
+++ mono/mini/ssa.c     4 Oct 2003 19:18:33 -0000
@@ -631,7 +631,7 @@
 static void
 mono_ssa_avoid_copies (MonoCompile *cfg)
 {
-       MonoInst *inst, *next, *u;
+       MonoInst *inst, *next;
        MonoBasicBlock *bb;
        MonoMethodVar *i1, *i2;
  
-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org




More information about the Mono-devel-list mailing list