[Mono-bugs] [Bug 58405][Nor] Changed - mcs issues erroneous "Use of unassigned local variable" error

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 12 May 2004 17:30:26 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by adamm@san.rr.com.

http://bugzilla.ximian.com/show_bug.cgi?id=58405

--- shadow/58405	2004-05-12 17:25:57.000000000 -0400
+++ shadow/58405.tmp.10728	2004-05-12 17:30:26.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Compilers
 Version: unspecified
 OS: other
 OS Details: Debian testing (with a few unstable packages)
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: adamm@san.rr.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -51,6 +51,15 @@
 
 
 ------- Additional Comments From adamm@san.rr.com  2004-05-12 17:25 -------
 Created an attachment (id=7688)
 This is the original file, included for reference.
 
+
+------- Additional Comments From adamm@san.rr.com  2004-05-12 17:30 -------
+Oh, and in case it's not obvious, 'gp' is initialized by this line:
+
+  if(x.Parent==(gp=x.Parent.Parent).Left)
+
+This code style may cause some people to cringe (though I personally 
+think it's better than the 2x-as-long alternative), the compiler 
+shouldn't cringe also. ;-)