Skip to content

Commit 50437b0

Browse files
committed
Fix warning about missing return statements
1 parent 07997ee commit 50437b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/tao/json/events/msgpack/grammar.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ namespace tao
153153
case 0xdf:
154154
return match_object( in, consumer, read_number< std::size_t, std::uint32_t >( in ) );
155155
}
156-
assert( !"unreachable" );
156+
// LCOV_EXCL_START
157+
assert( false );
158+
return false;
159+
// LCOV_EXCL_STOP
157160
}
158161

159162
template< typename Input >

0 commit comments

Comments
 (0)