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

Key: RSRP-30775
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Pasynkov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ReSharper

'&& true' is redundant in logical expressions

Created: 31 Oct 06 11:27   Updated: 21 May 07 01:41
Component/s: Code Analysis
Fix Version/s: Mirabilie Futurum
Security Level: Everybody (All jira users)

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

Build: 300


 Description  « Hide
class Stuff
{
    void Foo(bool f)
    {
        if(f && true) // && true is redundant
        {
            
        }
        if(true && f) // true && is redundant
        {
            
        }
    }
}


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