Skip to content

Commit

Permalink
Fix unused variable
Browse files Browse the repository at this point in the history
Introduced by mistake in the previous commit:

    ./multipart.go:103:3: h declared and not used
  • Loading branch information
emersion committed Aug 27, 2023
1 parent ea300ca commit 7716c61
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions multipart.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ func (m *multipartBody) NextPart() (*Entity, error) {

func (m *multipartBody) writeBodyTo(w *Writer) error {
for _, p := range m.parts {
h := p.Header

pw, err := w.CreatePart(p.Header)
if err != nil {
return err
Expand Down

0 comments on commit 7716c61

Please sign in to comment.