remove debug printfs

This commit is contained in:
silverweed 2025-01-28 10:34:04 +01:00
parent 568f5a8860
commit 5ef52054f7

View file

@ -215,9 +215,7 @@ b8 walk_tkeys(Arena *arena, const u8 *data, u64 data_len, u32 flags, TFile_Data
fprintf(stderr, "Error: found key or obj with len 0. Bailing out...\n");
break;
}
printf("cur: 0x%lX, nbytes: %lu (/ 0x%lX)\n", cur, n_bytes, sections[Sec_TFile_FreeList].head->range.start);
if (is_free_slot) {
// don't try to read the rest of the data
cur += n_bytes;
@ -258,7 +256,6 @@ b8 walk_tkeys(Arena *arena, const u8 *data, u64 data_len, u32 flags, TFile_Data
} else if (cur == sections[Sec_TFile_FreeList].head->range.start) {
sections[Sec_TFile_FreeList].head->pre_size = keylen;
sections[Sec_TFile_FreeList].head->range.start += keylen;
printf("keylen %lu\n", keylen);
sections[Sec_TFile_FreeList].head->range.len = n_bytes - keylen;
} else {
// Check if this is a RNTuple anchor