Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
gungun974 committed Oct 17, 2023
1 parent f6028ab commit d2d8ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ func (g *generator) writeSpreadAttributes(indentLevel int, elementName string, a
return err
}
// attribute name
if r, err = g.w.Write(var_n); err != nil {
if _, err = g.w.Write(var_n); err != nil {
return err
}
// ))
Expand All @@ -1143,7 +1143,7 @@ func (g *generator) writeSpreadAttributes(indentLevel int, elementName string, a
return err
}
// attribute value
if r, err = g.w.Write(var_v); err != nil {
if _, err = g.w.Write(var_v); err != nil {
return err
}
// ))
Expand Down

0 comments on commit d2d8ceb

Please sign in to comment.