1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-06 22:33:07 +02:00

Cleanup: rely on zero values for initialization

This commit is contained in:
Stefan Haller
2025-07-28 17:32:51 +02:00
parent 4d51234ee2
commit 37724e9d14

View File

@ -669,12 +669,7 @@ type AppState struct {
} }
func getDefaultAppState() *AppState { func getDefaultAppState() *AppState {
return &AppState{ return &AppState{}
LastUpdateCheck: 0,
RecentRepos: []string{},
StartupPopupVersion: 0,
LastVersion: "",
}
} }
func LogPath() (string, error) { func LogPath() (string, error) {