mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
Use boolean zero value instead of setting false
This commit is contained in:
@ -695,8 +695,6 @@ func (dbp *Process) getGoInformation() (ver GoVersion, isextld bool, err error)
|
||||
return
|
||||
}
|
||||
|
||||
isextld = false
|
||||
|
||||
rdr := dbp.DwarfReader()
|
||||
rdr.Seek(0)
|
||||
for entry, err := rdr.NextCompileUnit(); entry != nil; entry, err = rdr.NextCompileUnit() {
|
||||
|
||||
Reference in New Issue
Block a user