瀏覽代碼

Merge pull request #8 from rauls5382/master

Remove unnecessary named parameter, NFC
Raul Silvera 9 年之前
父節點
當前提交
6ec81ae819
共有 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