Skip to content

Commit 57763f7

Browse files
Potential fix for pull request finding 'Useless assignment to local variable'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 950269e commit 57763f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Worker/Grpc.Tests/LoggingCategoryTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void GrpcDurableTaskWorker_EmitsToBothCategories_WhenLegacyCategoriesEnab
180180
var services = new ServiceCollection().BuildServiceProvider();
181181

182182
// Act - Create worker which will create the logger internally
183-
var worker = new GrpcDurableTaskWorker(
183+
_ = new GrpcDurableTaskWorker(
184184
name: "Test",
185185
factory: factoryMock.Object,
186186
grpcOptions: new OptionsMonitorStub<GrpcDurableTaskWorkerOptions>(grpcOptions),

0 commit comments

Comments
 (0)