Pursuing perfection so as to catch beaudaciousness (paraphrasing Vince Lombardi), I tried to rid a project of its sole warning, which was: c:\project\nrps\PoisonFoot\releases\6-4-0\hhs\frmPlatypus.cs(103,16): warning CS0169: The private field 'PDQClient.frmPlatypus.scanned' is never used
So I commented out that line:
private bool scanned = false;
...but then I got:
C:\Project\nrps\PoisonFoot\Releases\6-4-0\HHS\frmPlatypus.cs(3390): The name 'scanned' does not exist in the class or namespace 'PDQClient.frmPlatypus'
...in two places (in the same class where it's supposedly unnecessarily defined)
How was I able to hoodwink the compiler without even trying? How can I get rid of the warning without receiving an err?