remove some cppcheck warnings
This commit is contained in:
1 parent
dd9005719a
commit
1ebfa897c8
24 files changed
+145
-146
No files matched your search
+1
-1
@@ -271,7 +271,7 @@ static void topaz_print_control_TLVs(uint8_t *memory) {
|
||||
bytes_locked_per_bit);
|
||||
lock_TLV_present = true;
|
||||
dynamic_lock_area_t *old = topaz_tag.dynamic_lock_areas;
|
||||
dynamic_lock_area_t *new = topaz_tag.dynamic_lock_areas;
|
||||
dynamic_lock_area_t *new;
|
||||
if (old == NULL) {
|
||||
new = topaz_tag.dynamic_lock_areas = (dynamic_lock_area_t *) calloc(sizeof(dynamic_lock_area_t), sizeof(uint8_t));
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user