]> git.codecow.com Git - nano-pow.git/commitdiff
Remove unused variable.
authorChris Duncan <chris@zoso.dev>
Mon, 16 Jun 2025 13:33:57 +0000 (06:33 -0700)
committerChris Duncan <chris@zoso.dev>
Mon, 16 Jun 2025 13:33:57 +0000 (06:33 -0700)
src/utils/index.ts

index dd7ebcb35fbda7d1a037b21754e610be9d33c2c2..26b66b63bd1c6cf35dc331fe9c4aaa33b55804cd 100644 (file)
@@ -17,8 +17,8 @@ export function stats (times: number[]) {
        const truncatedEnd = count - truncatedStart
        const truncatedCount = truncatedEnd - truncatedStart
        let min = Number.MAX_SAFE_INTEGER
-       let logarithms, max, median, rate, reciprocals, total
-       logarithms = max = median = rate = reciprocals = total = 0
+       let logarithms, max, median, reciprocals, total
+       logarithms = max = median = reciprocals = total = 0
 
        let truncatedMin = Number.MAX_SAFE_INTEGER
        let truncatedLogarithms, truncatedMax, truncatedReciprocals, truncatedTotal