Skip to content

Commit 37724e9

Browse files
committed
Cleanup: rely on zero values for initialization
1 parent 4d51234 commit 37724e9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pkg/config/app_config.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -669,12 +669,7 @@ type AppState struct {
669669
}
670670

671671
func getDefaultAppState() *AppState {
672-
return &AppState{
673-
LastUpdateCheck: 0,
674-
RecentRepos: []string{},
675-
StartupPopupVersion: 0,
676-
LastVersion: "",
677-
}
672+
return &AppState{}
678673
}
679674

680675
func LogPath() (string, error) {

0 commit comments

Comments
 (0)