Skip to content

Commit

Permalink
config: Remove unused GetAutoTime()
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKar committed Aug 18, 2024
1 parent a678d42 commit 832c7de
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/config/autosave.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 832c7de

Please sign in to comment.