mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Remove unused instruction pointer from Metadata
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user