mirror of
https://github.com/golang/go
synced 2024-11-17 02:14:42 -07:00
internal/pprof/profile: simplify variable use
This commit is contained in:
parent
faf4e97200
commit
9366b89c47
@ -175,7 +175,7 @@ var profileDecoder = []decoder{
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if *&m.(*Profile).stringTable[0] != "" {
|
||||
if m.(*Profile).stringTable[0] != "" {
|
||||
return errors.New("string_table[0] must be ''")
|
||||
}
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user