[Mono-bugs] [Bug 71187][Min] Changed - Incorrect 'unused variable' warnings
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 21 Feb 2005 04:55:38 -0500 (EST)
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 marek.safar@seznam.cz.
http://bugzilla.ximian.com/show_bug.cgi?id=71187
--- shadow/71187 2005-01-13 02:12:05.000000000 -0500
+++ shadow/71187.tmp.12214 2005-02-21 04:55:38.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 71187
Product: Mono: Compilers
Version: unspecified
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: NOTABUG
Severity: Unknown
Priority: Minor
Component: C#
AssignedTo: marek.safar@seznam.cz
ReportedBy: gonzalo@ximian.com
QAContact: mono-bugs@ximian.com
@@ -25,6 +25,15 @@
and will always have its default value 0
but those 2 fields are used (try removing them to see where)
------- Additional Comments From miguel@ximian.com 2005-01-13 02:12 -------
Am CCing Marek and Martin on this bug.
+
+------- Additional Comments From marek.safar@seznam.cz 2005-02-21 04:55 -------
+Hello Gonzalo,
+
+this it not a bug. You cannot remove this field.
+The warning says "value is never assigned" which means you return this
+value but you don't set this value.
+So, if your code is correct then you can replace this field with
+constant or don't introduce the field either.