Remove unused instruction pointer from Metadata

This commit is contained in:
baldurk
2021-09-20 17:58:36 +01:00
parent e1efc83fe3
commit ed4a28049d
2 changed files with 1 additions and 5 deletions
@@ -498,8 +498,6 @@ struct Metadata
Value value;
const Instruction *const *inst = NULL;
const Type *type = NULL;
rdcstr str;
rdcarray<Metadata *> children;
@@ -1688,9 +1688,7 @@ rdcstr Metadata::valString() const
{
const Instruction *i = NULL;
if(inst && *inst)
i = *inst;
else if(value.type == ValueType::Instruction)
if(value.type == ValueType::Instruction)
i = value.instruction;
if(i)