Skip to content

Commit

Permalink
Mute PVS Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skotopes committed Jul 3, 2024
1 parent a26498f commit 693ab5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/nfc/protocols/mf_ultralight/mf_ultralight_listener_i.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ bool mf_ultralight_c_check_access(
break;
}

if((auth0 <= start_page) && ((auth1 == 0) || (auth1 == 1 || is_write_op))) {
if((auth0 <= start_page) && ((auth1 == 0) || (auth1 == 1 || is_write_op))) { //-V560
break;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/nfc/protocols/mf_ultralight/mf_ultralight_poller_i.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ MfUltralightError mf_ultralight_poller_authenticate_end(
furi_check(request);
furi_check(response);

uint8_t auth_cmd[MF_ULTRALIGHT_C_ENCRYPTED_PACK_SIZE] = {0xAF};
uint8_t auth_cmd[MF_ULTRALIGHT_C_ENCRYPTED_PACK_SIZE] = {0xAF}; //-V1009
memcpy(&auth_cmd[1], request, MF_ULTRALIGHT_C_AUTH_DATA_SIZE);
bit_buffer_copy_bytes(instance->tx_buffer, auth_cmd, sizeof(auth_cmd));

Expand Down

0 comments on commit 693ab5f

Please sign in to comment.