Skip to content

Commit 5dce7ba

Browse files
committed
remove additional parens
1 parent 407dfb4 commit 5dce7ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlSequentialTextReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public override Task<int> ReadAsync(char[] buffer, int index, int count)
172172
byte[] byteBuffer = PrepareByteBuffer(charsNeeded, out int byteBufferUsed);
173173

174174
// Permit a 0 byte read in order to advance the reader to the correct column
175-
if ((byteBufferUsed <= byteBuffer.Length) || (byteBuffer.Length == 0))
175+
if (byteBufferUsed <= byteBuffer.Length || byteBuffer.Length == 0)
176176
{
177177
SqlDataReader reader = _reader;
178178
if (reader != null)

0 commit comments

Comments
 (0)