mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
more coverity fixes
plus fix some spacing in functions i touched.
This commit is contained in:
parent
3d542a3dfa
commit
e57c8b2e56
3 changed files with 117 additions and 114 deletions
|
@ -91,7 +91,7 @@ int GetWiegandFromPresco(const char *Cmd, uint32_t *sitecode, uint32_t *usercode
|
|||
if(cmdp == 0) errors = 1;
|
||||
|
||||
//Validations
|
||||
if(errors) return -1;
|
||||
if(errors || stringlen == 0) return -1;
|
||||
|
||||
if (!hex) {
|
||||
for (int index =0; index < strlen(id); ++index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue