Ver código fonte

Remove unnecessary named parameter, NFC

Raul Silvera 9 anos atrás
pai
commit
8e708c2305
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      profile/legacy_profile.go

+ 1
- 1
profile/legacy_profile.go Ver arquivo

982
 
982
 
983
 // parseAdditionalSections parses any additional sections in the
983
 // parseAdditionalSections parses any additional sections in the
984
 // profile, ignoring any unrecognized sections.
984
 // profile, ignoring any unrecognized sections.
985
-func parseAdditionalSections(l string, b *bytes.Buffer, p *Profile) (err error) {
985
+func parseAdditionalSections(l string, b *bytes.Buffer, p *Profile) error {
986
 	for {
986
 	for {
987
 		if sectionTrigger(l) == memoryMapSection {
987
 		if sectionTrigger(l) == memoryMapSection {
988
 			break
988
 			break