History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-3184
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Alain Ravet
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

"unused parameter" not detected in recursion case

Created: 26 Jun 05 00:34   Updated: 28 Jun 05 21:52
Component/s: Code Analysis. Inspection
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 3,378


 Description  « Hide

if a parameter is used once in a recursive call like below, then it is unused.

Example:

private static void test (int counter, int unusedParam)
{
if (1 <= counter) { test (counter - 1, unusedParam); }
}



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.