Skip to content

Commit 20ef1f9

Browse files
authored
Merge pull request #586 from jamessan/gcc-7-fix
Comment the intentional fallthrough to default from _fixed_trail_again
2 parents 89b8f4e + 304ff96 commit 20ef1f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/msgpack/unpack_template.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ msgpack_unpack_func(int, _execute)(msgpack_unpack_struct(_context)* ctx, const c
236236

237237
_fixed_trail_again:
238238
++p;
239+
// fallthrough
239240

240241
default:
241242
if((size_t)(pe - p) < trail) { goto _out; }

0 commit comments

Comments
 (0)