Skip to content

Commit

Permalink
Skip DeepSource CS-W1082
Browse files Browse the repository at this point in the history
  • Loading branch information
lc6464 committed Aug 24, 2023
1 parent 1bd391b commit e6ed5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public static long DecodeToStream(Stream stream, Stream output) {
int readCount, writeCount = 0; // skipcq: CS-W1022 赋值的确是不必要的
while ((readCount = stream.Read(buffer, 0, bufferLength)) > 0) {
if (Convert.ToBoolean(end = IsNextEnd(stream))) {
buffer[readCount++] = 61; // (byte)'='
buffer[readCount++] = 61; // (byte)'=' // skipcq: CS-W1082 readCount 值已递增,不会被后续语句覆盖
buffer[readCount++] = end;
}
var decodedData = Decode(buffer, readCount);
Expand Down

0 comments on commit e6ed5d0

Please sign in to comment.