Remove dead code
Problem reported by Coverity: dead_error_condition: The switch value "nbr" cannot be "NBR_UNDEFINED". CID 1090326 (#1 of 2): Logically dead code (DEADCODE) dead_error_begin: Execution cannot reach this statement "case NBR_UNDEFINED:".
This commit is contained in:
parent
cedbefb880
commit
54729fb458
1 changed files with 0 additions and 5 deletions
|
@ -2557,11 +2557,6 @@ pn53x_InJumpForDEP(struct nfc_device *pnd,
|
||||||
memcpy(abtCmd + offset, pbtPassiveInitiatorData, 5);
|
memcpy(abtCmd + offset, pbtPassiveInitiatorData, 5);
|
||||||
offset += 5;
|
offset += 5;
|
||||||
break;
|
break;
|
||||||
case NBR_847:
|
|
||||||
case NBR_UNDEFINED:
|
|
||||||
pnd->last_error = NFC_EINVARG;
|
|
||||||
return pnd->last_error;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue