Skip to content

Commit b7e8a57

Browse files
authored
[PR feedback] Remove dead branch
1 parent 1c15322 commit b7e8a57

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/NamingRules/SA1308CodeFixProvider.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
6060
break;
6161
}
6262

63-
if (numberOfCharsToRemove == 0)
64-
{
65-
continue;
66-
}
67-
6863
// The prefix is the full variable name. In this case we cannot generate a valid variable name and thus will not offer a code fix.
6964
if (token.ValueText.Length == numberOfCharsToRemove)
7065
{

0 commit comments

Comments
 (0)