mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00: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 a new issue