Skip to content

Commit

Permalink
Appease GCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
viega committed Jul 6, 2024
1 parent ea025fa commit bff6922
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/con4m/collect.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,8 @@ c4m_alloc_display_front_guard_error(c4m_alloc_hdr *hdr,
"Alloc location: %s:%d\n\n",
name_alloc(hdr),
ptr,
c4m_gc_guard,
hdr->guard,
(long long unsigned)c4m_gc_guard,
(long long unsigned)hdr->guard,
file ? file : hdr->alloc_file,
file ? line : hdr->alloc_line);

Expand Down Expand Up @@ -765,8 +765,8 @@ c4m_alloc_display_rear_guard_error(c4m_alloc_hdr *hdr,
name_alloc(hdr),
ptr,
len,
rear_guard_loc,
c4m_end_guard,
(long long unsigned in)rear_guard_loc,
(long long unsigned int)c4m_end_guard,
*(uint64_t *)rear_guard_loc,
file ? file : hdr->alloc_file,
file ? line : hdr->alloc_line);
Expand Down Expand Up @@ -834,9 +834,6 @@ memcheck_validate_old_records(c4m_arena_t *from_space)
p++;
}
}
if (free) {
c4m_rc_free(a);
}
a = next;
}
}
Expand Down

0 comments on commit bff6922

Please sign in to comment.