Skip to content

Commit

Permalink
Slightly reword comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PJK committed Dec 27, 2022
1 parent cb25912 commit 0ebb08c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cbor/streaming.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,8 @@ struct cbor_decoder_result cbor_stream_decode(
case 0xFF:
/* Break */
callbacks->indef_break(context);
// Never happens, the case is exhaustive; make compiler happy
// Never happens, the switch statement is exhaustive on the 1B range; make
// compiler happy
default:
return result;
}
Expand Down

0 comments on commit 0ebb08c

Please sign in to comment.