No used variable warnings?
- Posted by Brian Broker <bkb at cnw.com> Feb 25, 2002
- 387 views
What determines whether unused variables will generate a warning upon closing a program? I am modifying this program that has many unused variables that I want to clean up but I wanted the interpreter to list them all for me so that I don't clean up the ones I really need. But I get no warnings at all when my progam exits. I even declared some bogus variables that I know aren't used but still no warnings. I also wrote a simple test program with some unused variables and they do get reported... I am using version 2.2 and I am not using "without warning". Is there a way to force unused variable reporting? -- Brian