Permalink
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (30 sloc) 749 Bytes

RCS1040: Remove empty else clause

Property Value
Id RCS1040
Category Redundancy
Default Severity Hidden
Enabled by Default
Supports Fade-Out
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

if (condition)
{
    Foo();
}
else // RCS1040
{
}

Code with Fix

if (condition)
{
    Foo();
}

See Also

(Generated with DotMarkdown)