Skip to content

Commit

Permalink
Add a missing break statement in cram_codec_to_id. (#1614)
Browse files Browse the repository at this point in the history
Note: This code is currently not used except in the experimental CRAMv4.0.
  • Loading branch information
jkbonfield authored May 15, 2023
1 parent f3ad960 commit c04f61e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cram/cram_codecs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3910,7 +3910,8 @@ int cram_codec_to_id(cram_codec *c, int *id2) {
switch (c->codec) {
case E_CONST_INT:
case E_CONST_BYTE:
bnum1 = -2; // no blocks used
bnum1 = -2; // no blocks used
break;

case E_HUFFMAN:
bnum1 = c->u.huffman.ncodes == 1 ? -2 : -1;
Expand Down

0 comments on commit c04f61e

Please sign in to comment.