remove debug printfs
This commit is contained in:
parent
568f5a8860
commit
5ef52054f7
1 changed files with 1 additions and 4 deletions
|
@ -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");
|
fprintf(stderr, "Error: found key or obj with len 0. Bailing out...\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("cur: 0x%lX, nbytes: %lu (/ 0x%lX)\n", cur, n_bytes, sections[Sec_TFile_FreeList].head->range.start);
|
|
||||||
|
|
||||||
if (is_free_slot) {
|
if (is_free_slot) {
|
||||||
// don't try to read the rest of the data
|
// don't try to read the rest of the data
|
||||||
cur += n_bytes;
|
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) {
|
} else if (cur == sections[Sec_TFile_FreeList].head->range.start) {
|
||||||
sections[Sec_TFile_FreeList].head->pre_size = keylen;
|
sections[Sec_TFile_FreeList].head->pre_size = keylen;
|
||||||
sections[Sec_TFile_FreeList].head->range.start += keylen;
|
sections[Sec_TFile_FreeList].head->range.start += keylen;
|
||||||
printf("keylen %lu\n", keylen);
|
|
||||||
sections[Sec_TFile_FreeList].head->range.len = n_bytes - keylen;
|
sections[Sec_TFile_FreeList].head->range.len = n_bytes - keylen;
|
||||||
} else {
|
} else {
|
||||||
// Check if this is a RNTuple anchor
|
// Check if this is a RNTuple anchor
|
||||||
|
|
Loading…
Add table
Reference in a new issue