Skip to content

Commit 6a83456

Browse files
committed
remove unnecessary ?
1 parent 0142ecb commit 6a83456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SSPI/NegotiateSspiContextProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private NegotiateAuthentication GetNegotiateAuthenticationForParams(SspiAuthenti
4949
}
5050

5151
// Dispose of it since we're not going to use it now
52-
_negotiateAuth?.Dispose();
52+
_negotiateAuth.Dispose();
5353
}
5454

5555
return _negotiateAuth = new(new NegotiateAuthenticationClientOptions { Package = "Negotiate", TargetName = authParams.Resource });

0 commit comments

Comments
 (0)