mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 02:04:39 +08:00
coverity fix #308194
This commit is contained in:
parent
3b37ca1d4c
commit
f65b5eb96d
1 changed files with 4 additions and 3 deletions
|
@ -662,9 +662,10 @@ void em4x70_write(em4x70_data_t *etd) {
|
|||
|
||||
if (status) {
|
||||
// Read Tag after writing
|
||||
em4x70_read_id();
|
||||
em4x70_read_um1();
|
||||
em4x70_read_um2();
|
||||
if (em4x70_read_id()) {
|
||||
em4x70_read_um1();
|
||||
em4x70_read_um2();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue