From 832c7deaf8b2369f1344606812df110d73541204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6ran=20Karl?= <3951388+JoeKar@users.noreply.github.com> Date: Wed, 19 Jun 2024 20:36:29 +0200 Subject: [PATCH] config: Remove unused `GetAutoTime()` --- internal/config/autosave.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/internal/config/autosave.go b/internal/config/autosave.go index 2d0f8cec..d530b459 100644 --- a/internal/config/autosave.go +++ b/internal/config/autosave.go @@ -21,13 +21,6 @@ func SetAutoTime(a int) { autolock.Unlock() } -func GetAutoTime() int { - autolock.Lock() - a := autotime - autolock.Unlock() - return a -} - func StartAutoSave() { go func() { for {