Преглед на файлове

Remove unnecessary named parameter, NFC

Raul Silvera преди 9 години
родител
ревизия
8e708c2305
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      profile/legacy_profile.go

+ 1
- 1
profile/legacy_profile.go Целия файл

@@ -982,7 +982,7 @@ func parseThreadSample(b *bytes.Buffer) (nextl string, addrs []uint64, err error
982 982
 
983 983
 // parseAdditionalSections parses any additional sections in the
984 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 986
 	for {
987 987
 		if sectionTrigger(l) == memoryMapSection {
988 988
 			break