internal/clock: Remove unused variables

This commit is contained in:
Hajime Hoshi 2018-07-17 00:35:51 +09:00
parent 408cc1e833
commit 93f8c76310

View File

@ -21,8 +21,6 @@ import (
)
var (
frames int64
// lastSystemTime is the last system time in the previous Update.
lastSystemTime int64
@ -87,7 +85,6 @@ func calcCountFromTPS(tps int64, now int64) int {
count = 1
}
frames += int64(count)
if syncWithSystemClock {
lastSystemTime = now
} else {