fix: renaming unused parameter

This commit is contained in:
moonD4rk
2023-04-04 20:05:32 +08:00
parent c9acb11536
commit 01bf9806e0
9 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ type bookmark struct {
DateAdded time.Time
}
func (c *ChromiumBookmark) Parse(masterKey []byte) error {
func (c *ChromiumBookmark) Parse(_ []byte) error {
bookmarks, err := fileutil.ReadFile(item.TempChromiumBookmark)
if err != nil {
return err
@@ -93,7 +93,7 @@ const (
closeJournalMode = `PRAGMA journal_mode=off`
)
func (f *FirefoxBookmark) Parse(masterKey []byte) error {
func (f *FirefoxBookmark) Parse(_ []byte) error {
db, err := sql.Open("sqlite3", item.TempFirefoxBookmark)
if err != nil {
return err