Skip to content

Commit

Permalink
remove unused MCOperand_Init()
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Jan 22, 2019
1 parent b5050df commit 2511741
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions MCInst.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ void MCInst_addOperand2(MCInst *inst, MCOperand *Op)
inst->size++;
}

void MCOperand_Init(MCOperand *op)
{
op->Kind = kInvalid;
op->FPImmVal = 0.0;
}

bool MCOperand_isValid(const MCOperand *op)
{
return op->Kind != kInvalid;
Expand Down
2 changes: 0 additions & 2 deletions MCInst.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ struct MCOperand {
};
};

void MCOperand_Init(MCOperand *op);

bool MCOperand_isValid(const MCOperand *op);

bool MCOperand_isReg(const MCOperand *op);
Expand Down

0 comments on commit 2511741

Please sign in to comment.