Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit ac50823

Browse files
Removing unused variables in ThreadSynchronizationContext classes
1 parent 0c218a9 commit ac50823

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/tests/IntegrationTests/ThreadSynchronizationContext.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ private void Start()
5858
while (!token.IsCancellationRequested)
5959
{
6060
var current = DateTime.Now.Ticks;
61-
var elapsed = current - lastTime;
6261
count++;
6362
if (current - secondStart > TimeSpan.TicksPerMillisecond * 1000)
6463
{

src/tests/TaskSystemIntegrationTests/ThreadSynchronizationContext.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ private void Start()
5959
while (!token.IsCancellationRequested)
6060
{
6161
var current = DateTime.Now.Ticks;
62-
var elapsed = current - lastTime;
6362
count++;
6463
if (current - secondStart > TimeSpan.TicksPerMillisecond * 1000)
6564
{

0 commit comments

Comments
 (0)