Selaa lähdekoodia

Remove unnecessary named parameter, NFC

Raul Silvera 9 vuotta sitten
vanhempi
commit
8e708c2305
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      profile/legacy_profile.go

+ 1
- 1
profile/legacy_profile.go Näytä tiedosto

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