From 9f10124500fa1790b938950a5b8bda10885b7563 Mon Sep 17 00:00:00 2001 From: Andrey Penechko Date: Mon, 21 Aug 2023 20:25:09 +0300 Subject: [PATCH] Remove unneeded QueryPerformanceFrequency call --- plugins/core/src/core/utils.vx | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/core/src/core/utils.vx b/plugins/core/src/core/utils.vx index 33c5ec7..0a1cfe9 100644 --- a/plugins/core/src/core/utils.vx +++ b/plugins/core/src/core/utils.vx @@ -70,8 +70,6 @@ struct Duration i64 ticks; f64 seconds() { - i64 freq; - QueryPerformanceFrequency(&freq); return ticks / cast(f64)(_ticksPerSecond); } }