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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 25 00:33:16 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 atsushi at ximian.com.

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

--- shadow/75038	2005-05-24 23:43:17.000000000 -0400
+++ shadow/75038.tmp.21639	2005-05-25 00:33:16.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 75038
 Product: Mono: Compilers
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: alex at beatniksoftware.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -22,6 +22,14 @@
 Test case attached.
 
 ------- Additional Comments From alex at beatniksoftware.com  2005-05-24 23:43 -------
 Created an attachment (id=15205)
 Test case
 
+
+------- Additional Comments From atsushi at ximian.com  2005-05-25 00:33 -------
+It is the expected behavior.
+
+$ csc 75038.cs -nologo
+75038.cs(4,7): warning CS0168: The variable 'foo' is declared but
+never used
+


More information about the mono-bugs mailing list