Skip to content

Commit

Permalink
Remove unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gregandcin committed Feb 26, 2024
1 parent 37f13a6 commit 1f7d4a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fileparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func checkForContent(directory string) error {
subDirDLC := filepath.Join(path, "$c")
subInfoDLC, err := os.Stat(subDirDLC)
if err == nil && subInfoDLC.IsDir() {
err = processDLCContent(subDirDLC, titleData, titleID, directory)
err = processDLCContent(subDirDLC, titleData, directory)
if err != nil {
return err
}
Expand All @@ -115,7 +115,7 @@ func checkForContent(directory string) error {
return err
}

func processDLCContent(subDirDLC string, titleData TitleData, titleID string, directory string) error {
func processDLCContent(subDirDLC string, titleData TitleData, directory string) error {
subContents, err := os.ReadDir(subDirDLC)
if err != nil {
return err
Expand Down
4 changes: 2 additions & 2 deletions gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func saveSettings(settings *Settings) error {
return nil
}

func showSettingsDialog(parent fyne.Window, settings *Settings, app fyne.App) {
func showSettingsDialog(settings *Settings, app fyne.App) {
settingsWindow := app.NewWindow("Settings")
settingsWindow.Resize(fyne.Size{Width: 200, Height: 100})

Expand Down Expand Up @@ -345,7 +345,7 @@ func startGUI(options GUIOptions) {
fmt.Println(err)
settings = &Settings{}
}
showSettingsDialog(w, settings, a)
showSettingsDialog(settings, a)
})

// Exit the application
Expand Down

0 comments on commit 1f7d4a9

Please sign in to comment.