Fix noinlineerr findings: internal/blobgen (refs #61)

This commit is contained in:
2026-08-07 16:59:56 +00:00
parent 217d60eeaa
commit 2dfdc5f095
2 changed files with 10 additions and 5 deletions

View File

@@ -27,7 +27,8 @@ type Writer struct {
// The hash is computed on the uncompressed input for deterministic content-addressing.
func NewWriter(w io.Writer, compressionLevel int, recipients []string) (*Writer, error) {
// Validate compression level
if err := validateCompressionLevel(compressionLevel); err != nil {
err := validateCompressionLevel(compressionLevel)
if err != nil {
return nil, err
}