[Mono-bugs] [Bug 324765] Bogus CS0168 (variable declared but never used)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 2 04:43:54 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=324765

User harinath at hurrynot.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=324765#c2


Raja Harinath <harinath at hurrynot.org> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |harinath at hurrynot.org




--- Comment #2 from Raja Harinath <harinath at hurrynot.org>  2008-04-02 02:43:54 MST ---
A slightly smaller testcase which removes unnecessary control flows:

--------------------------- 8< ----------------------
public class MyClass2
{
        static public bool b;
        static public void Main ()
        {
                object o;

                switch (b) {
                case true:
                        o = "yo";
                        break;
                }
        }
}
--------------------------- 8< ----------------------


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list