proc/variables: missing return statement on error (#643)

Fixes #642
This commit is contained in:
Alessandro Arzilli 2016-09-25 17:28:22 +02:00 committed by Derek Parker
parent 5d78c04e62
commit fb8388ab2e

@ -1513,6 +1513,7 @@ func (v *Variable) loadInterface(recurseLevel int, loadData bool, cfg LoadConfig
typdata, err := v.dbp.CurrentThread.readMemory(res, 3+v.dbp.arch.PtrSize())
if err != nil {
v.Unreadable = fmt.Errorf("could not read concrete type (data: %#v): %v", data.Addr, err)
return
}
nl := int(typdata[1]<<8 | typdata[2])