mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
fix uninitialized gcc7.5 opensuse warning
This commit is contained in:
parent
94d12f8bbf
commit
93cc64a8e3
1 changed files with 3 additions and 3 deletions
|
@ -571,10 +571,10 @@ int CmdHFTopaz(const char *Cmd) {
|
|||
|
||||
int readTopazUid(bool verbose) {
|
||||
|
||||
uint8_t atqa[2];
|
||||
uint8_t rid_response[8];
|
||||
uint8_t atqa[2] = {0};
|
||||
uint8_t rid_response[8] = {0};
|
||||
uint8_t *uid_echo = &rid_response[2];
|
||||
uint8_t rall_response[124];
|
||||
uint8_t rall_response[124] = {0};
|
||||
|
||||
int status = topaz_select(atqa, sizeof(atqa), rid_response, sizeof(rid_response), verbose);
|
||||
if (status == PM3_ESOFT) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue