mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
fix coverity 267478
This commit is contained in:
parent
4bd9f183df
commit
da21f94b66
1 changed files with 5 additions and 5 deletions
|
@ -367,7 +367,7 @@ static int CmdHIDClone(const char *Cmd) {
|
||||||
static int CmdHIDBrute(const char *Cmd) {
|
static int CmdHIDBrute(const char *Cmd) {
|
||||||
|
|
||||||
bool errors = false, verbose = false;
|
bool errors = false, verbose = false;
|
||||||
uint32_t delay = 1000;
|
uint32_t delay = 1000;
|
||||||
uint8_t cmdp = 0;
|
uint8_t cmdp = 0;
|
||||||
int format_idx = -1;
|
int format_idx = -1;
|
||||||
int direction = 0;
|
int direction = 0;
|
||||||
|
@ -448,7 +448,7 @@ static int CmdHIDBrute(const char *Cmd) {
|
||||||
PrintAndLogEx(INFO, "OEM#............. %u", cn_hi.OEM);
|
PrintAndLogEx(INFO, "OEM#............. %u", cn_hi.OEM);
|
||||||
PrintAndLogEx(INFO, "ISSUE#........... %u", cn_hi.IssueLevel);
|
PrintAndLogEx(INFO, "ISSUE#........... %u", cn_hi.IssueLevel);
|
||||||
PrintAndLogEx(INFO, "Facility#........ %u", cn_hi.FacilityCode);
|
PrintAndLogEx(INFO, "Facility#........ %u", cn_hi.FacilityCode);
|
||||||
PrintAndLogEx(INFO, "Card#............ %u", cn_hi.CardNumber);
|
PrintAndLogEx(INFO, "Card#............ %" PRIu64, cn_hi.CardNumber);
|
||||||
switch( direction) {
|
switch( direction) {
|
||||||
case 0:
|
case 0:
|
||||||
PrintAndLogEx(INFO, "Brute-forcing direction: " _YELLOW_("BOTH"));
|
PrintAndLogEx(INFO, "Brute-forcing direction: " _YELLOW_("BOTH"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue