Skip to content

Commit

Permalink
bdb: lints
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <[email protected]>
  • Loading branch information
hdonnay committed Apr 12, 2023
1 parent f97901e commit bd8c69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/bdb/bdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ type hashoffpage struct {
}

// AllHeaders returns ReaderAts for all RPM headers in the PackageDB.
func (db *PackageDB) AllHeaders(ctx context.Context) ([]io.ReaderAt, error) {
func (db *PackageDB) AllHeaders(_ context.Context) ([]io.ReaderAt, error) {
var ret []io.ReaderAt
pageSz := int64(db.m.PageSize)
for n, lim := int64(0), int64(db.m.LastPageNo)+1; n < lim; n++ {
Expand Down

0 comments on commit bd8c69f

Please sign in to comment.