Skip to content

Commit

Permalink
ndb: 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 bd8c69f commit b5c3834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/ndb/ndb.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (

// CheckMagic reports whether the Reader starts with a magic header for
// a file format supported by this package.
func CheckMagic(ctx context.Context, r io.Reader) bool {
func CheckMagic(_ context.Context, r io.Reader) bool {
const (
xdb = 'R' | 'p'<<8 | 'm'<<16 | 'X'<<24
pkg = 'R' | 'p'<<8 | 'm'<<16 | 'P'<<24
Expand Down

0 comments on commit b5c3834

Please sign in to comment.