mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
remove redundant buffer init
This commit is contained in:
parent
28ca3e8c22
commit
55ac61e145
1 changed files with 0 additions and 1 deletions
|
@ -519,7 +519,6 @@ int CmdHF15Info(const char *Cmd) {
|
||||||
uint8_t *req = c.d.asBytes;
|
uint8_t *req = c.d.asBytes;
|
||||||
char cmdbuf[100] = {0};
|
char cmdbuf[100] = {0};
|
||||||
char *cmd = cmdbuf;
|
char *cmd = cmdbuf;
|
||||||
memset(cmdbuf, 0, sizeof(cmdbuf));
|
|
||||||
|
|
||||||
strncpy(cmd, Cmd, sizeof(cmdbuf) - 1);
|
strncpy(cmd, Cmd, sizeof(cmdbuf) - 1);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue