proc: reduntant type conversion (#3131)
Co-authored-by: weixiecui <weixiecui@futunn.com>
This commit is contained in:
parent
b19d67ccf2
commit
9bcccf81ed
@ -833,7 +833,7 @@ var ErrUnreadableG = errors.New("could not read G struct")
|
||||
|
||||
func (v *Variable) parseG() (*G, error) {
|
||||
mem := v.mem
|
||||
gaddr := uint64(v.Addr)
|
||||
gaddr := v.Addr
|
||||
_, deref := v.RealType.(*godwarf.PtrType)
|
||||
|
||||
if deref {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user