in reply to Re: Warnings on unused variables?
in thread Warnings on unused variables?
Mhm, thanks for the explanation, though I would not have considered cases 2, 3 or 6 false positives (those are the kinds of things I would want to catch, honestly), and would not have considered 1, 4 and 5 single-use (#1 uses $foo++, #4 in theory will see $lock checked at least once inside do_stuff_that_needs_the_lock(), and #5 passes $tree to new()).
Anyway, I took Grinder's point that use warnings::unused could be left commented out for commits, and went with that. It's Worked For Me™ so far.
Thanks, all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Warnings on unused variables?
by ikegami (Patriarch) on Sep 27, 2008 at 18:27 UTC | |
by AZed (Monk) on Sep 27, 2008 at 21:19 UTC | |
by Corion (Patriarch) on Sep 27, 2008 at 21:23 UTC | |
by AZed (Monk) on Sep 27, 2008 at 22:20 UTC | |
by Corion (Patriarch) on Sep 27, 2008 at 22:24 UTC | |
| |
by ikegami (Patriarch) on Sep 27, 2008 at 22:58 UTC | |
by AZed (Monk) on Sep 28, 2008 at 00:32 UTC | |
by ikegami (Patriarch) on Sep 28, 2008 at 00:41 UTC | |
by ikegami (Patriarch) on Sep 27, 2008 at 23:02 UTC | |
by AZed (Monk) on Sep 28, 2008 at 00:46 UTC | |
by ikegami (Patriarch) on Sep 28, 2008 at 00:58 UTC | |
| |
by ikegami (Patriarch) on Sep 28, 2008 at 00:52 UTC |