Skip to content

Commit 14b59f6

Browse files
tg123brendandburns
authored andcommitted
fix unreachable code (#65)
* fix unreachable code * remove unused comments
1 parent 736ce06 commit 14b59f6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ResourceQuantity.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,10 @@ public static string AppendMaxSuffix(Fraction value, SuffixFormat format)
324324
return $"{(decimal) lastv}e{minE}";
325325
}
326326

327-
break;
328327
case SuffixFormat.BinarySI:
329328
return AppendMaxSuffix(value, BinSuffixes);
330-
break;
331329
case SuffixFormat.DecimalSI:
332330
return AppendMaxSuffix(value, DecSuffixes);
333-
break;
334331
default:
335332
throw new ArgumentOutOfRangeException(nameof(format), format, null);
336333
}

0 commit comments

Comments
 (0)