Skip to content

Commit 27dcd77

Browse files
committed
Discard unused return value
1 parent 23dcbd0 commit 27dcd77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ProgressOnderwijsUtilsBenchmarks/MicroOrmBench/BenchmarkUtil.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void Bench<TConn>(string name, Func<TConn> connect, Func<TConn, int, int>
125125
swInner.Restart();
126126
var val = action(conn, IndexToRowCount(localI));
127127
latencies = latencies.Add(swInner.Elapsed.TotalMilliseconds);
128-
Interlocked.Add(ref rowsum, val);
128+
_ = Interlocked.Add(ref rowsum, val);
129129
}
130130
return latencies;
131131
};

0 commit comments

Comments
 (0)