mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
dae07c1900
2 changed files with 3 additions and 4 deletions
|
@ -3083,7 +3083,7 @@ Datatype *TypeFactory::findAdd(Datatype &ct)
|
|||
|
||||
if (ct.name.size()!=0) { // If there is a name
|
||||
if (ct.id == 0) // There must be an id
|
||||
throw LowlevelError("Datatype must have a valid id");
|
||||
throw LowlevelError("Datatype must have a valid id: "+ct.name);
|
||||
res = findByIdLocal(ct.name,ct.id); // Lookup type by it
|
||||
if (res != (Datatype *)0) { // If a type has this name
|
||||
if (0!=res->compareDependency( ct )) // Check if it is the same type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue