1
0
mirror of https://github.com/fumiama/simple-protobuf.git synced 2026-06-05 00:10:24 +08:00

移除输出

This commit is contained in:
fumiama
2021-06-07 19:43:24 +08:00
parent 121ac13c59
commit fdf5dd54b0

View File

@@ -47,7 +47,6 @@ SIMPLE_PB* get_pb(FILE* fp) {
while(p < end) {
uint32_t offset = read_num(fp);
uint32_t data_len = read_num(fp);
printf("offset: %u, datlen: %u\n", offset, data_len);
if(data_len > 0) fread(p, data_len, 1, fp);
p += offset;
}