#201 UnusedPrivateMethod false positive (ternary call)

release_3.4
closed
Rick Giles
5
2012-10-10
2004-01-20
Jay Dunning
No

When a private method is referenced only in the last term
of a ternary operator, and the second term is enclosed in
parentheses, the method is reported as unused.

See the attached test case.

Discussion

  • Rick Giles
    Rick Giles
    2004-01-21

    Logged In: YES
    user_id=539926

    There is no attached test case. Please provide an example.

     
  • Rick Giles
    Rick Giles
    2004-01-23

    Logged In: YES
    user_id=539926

    Correction committed to 3.4 CVS