Permalink
707b719 Jun 14, 2018
1 contributor

Users who have contributed to this file

42 lines (30 sloc) 784 Bytes

RCS1212: Remove redundant assignment

Property Value
Id RCS1212
Category Redundancy
Default Severity Info
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

bool Foo()
{
    // ...

    f = false; // RCS1212
    return f;
}

Code with Fix

bool Foo()
{
    // ...

    return false;
}

See Also

(Generated with DotMarkdown)