mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-22 11:32:28 +00:00
remove redundant buffer init
This commit is contained in:
1 parent
28ca3e8c22
commit
55ac61e145
1 file changed
-1
@@ -519,7 +519,6 @@ int CmdHF15Info(const char *Cmd) {
|
||||
uint8_t *req = c.d.asBytes;
|
||||
char cmdbuf[100] = {0};
|
||||
char *cmd = cmdbuf;
|
||||
memset(cmdbuf, 0, sizeof(cmdbuf));
|
||||
|
||||
strncpy(cmd, Cmd, sizeof(cmdbuf) - 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user