mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Fix uninit cppcheck warnings in GST module
This commit is contained in:
@@ -1634,12 +1634,12 @@ static int gst_selftest_zlib(void) {
|
||||
// Check that inflation worked properly by validating inner data
|
||||
if (inflate_ok) {
|
||||
size_t offset = 0;
|
||||
gst_ndef_record_view_t first_record;
|
||||
gst_ndef_record_view_t second_record;
|
||||
gst_ndef_record_view_t loyalty_record;
|
||||
gst_ndef_record_view_t object_id_record;
|
||||
gst_ndef_record_view_t customer_record;
|
||||
gst_ndef_record_view_t customer_id_record;
|
||||
gst_ndef_record_view_t first_record = {0};
|
||||
gst_ndef_record_view_t second_record = {0};
|
||||
gst_ndef_record_view_t loyalty_record = {0};
|
||||
gst_ndef_record_view_t object_id_record = {0};
|
||||
gst_ndef_record_view_t customer_record = {0};
|
||||
gst_ndef_record_view_t customer_id_record = {0};
|
||||
|
||||
res = gst_ndef_parse_record(decompressed_payload, decompressed_payload_len, &offset, &first_record);
|
||||
if (res == PM3_SUCCESS &&
|
||||
|
||||
Reference in New Issue
Block a user