[Mono-bugs] [Bug 75038][Nor] New - Compiler warns about variables only assigned inside #if

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 24 23:42:46 EDT 2005


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 alex at beatniksoftware.com.

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

--- shadow/75038	2005-05-24 23:42:46.000000000 -0400
+++ shadow/75038.tmp.21288	2005-05-24 23:42:46.000000000 -0400
@@ -0,0 +1,22 @@
+Bug#: 75038
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: alex at beatniksoftware.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Compiler warns about variables only assigned inside #if
+
+If you only assign a variable inside of a #if NOT_DEFINED block, the
+compiler complains that that the variable is never assigned.
+
+Test case attached.


More information about the mono-bugs mailing list