Skip to content

Commit 453ff7f

Browse files
committed
decode: fix FIELD_NUM_INSERTS
Fixes GH #1177
1 parent 473c7a5 commit 453ff7f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/dec_macros.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,13 +1448,8 @@
14481448
FIELD_VALUE (num_inserts)++; \
14491449
LOG_INSANE ("num_inserts [RC " FORMAT_RL "]: %d\n", \
14501450
FIELD_VALUE (num_inserts), (unsigned char)vcount) \
1451-
if (vcount != 1) \
1452-
{ \
1453-
LOG_WARN ("num_inserts [RC " FORMAT_RL "]: %d != 1", \
1454-
FIELD_VALUE (num_inserts), (unsigned char)vcount) \
1455-
/*bit_advance_position (dat, -8);*/ \
1451+
if (vcount == 0) \
14561452
break; \
1457-
} \
14581453
} \
14591454
LOG_TRACE ("num_inserts: %d [RC* 0]\n", FIELD_VALUE (num_inserts))
14601455

0 commit comments

Comments
 (0)