Skip to content

Commit

Permalink
test/simulator/indexer: Remove unsused varaiable
Browse files Browse the repository at this point in the history
Remive the no-longer-used iValue, which some compilers detect
(and ci jobs fail because of this)
  • Loading branch information
tboegi committed Sep 2, 2024
1 parent ecda504 commit 7c4ee33
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/simulator/indexer.c
Original file line number Diff line number Diff line change
Expand Up @@ -2223,9 +2223,7 @@ static void indexerMotorParamInterface(unsigned motor_axis_no, unsigned offset,
}
if (paramCommand == PARAM_IF_CMD_DOWRITE) {
double fValue;
int iValue;
fValue = netToDouble(&netData.memoryBytes[offset + 2], lenInPlcPara);
iValue = netToUint(&netData.memoryBytes[offset + 2], lenInPlcPara);
ret = PARAM_IF_CMD_ERR_NO_IDX;
switch (paramIndex) {
case PARAM_IDX_OPMODE_AUTO_UINT32:
Expand Down

0 comments on commit 7c4ee33

Please sign in to comment.