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
@@ -31,7 +31,7 @@ const (
queryChromiumDownload = `SELECT target_path, tab_url, total_bytes, start_time, end_time, mime_type FROM downloads`
)
func (c *ChromiumDownload) Parse(masterKey []byte) error {
func (c *ChromiumDownload) Parse(_ []byte) error {
db, err := sql.Open("sqlite3", item.TempChromiumDownload)
if err != nil {
return err
@@ -82,7 +82,7 @@ const (
closeJournalMode = `PRAGMA journal_mode=off`
)
func (f *FirefoxDownload) Parse(masterKey []byte) error {
func (f *FirefoxDownload) Parse(_ []byte) error {
db, err := sql.Open("sqlite3", item.TempFirefoxDownload)
if err != nil {
return err