Skip to content

Commit df547c6

Browse files
committed
Add missing fallthrough label
1 parent b8c7d2d commit df547c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/MongoDB/WriteConcern.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ static PHP_METHOD(WriteConcern, __construct)
152152

153153
mongoc_write_concern_set_journal(intern->write_concern, zend_is_true(journal));
154154
}
155-
/* fallthrough */
155+
PHONGO_BREAK_INTENTIONALLY_MISSING
156+
156157
case 2:
157158
if (wtimeout < 0) {
158159
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT, "Expected wtimeout to be >= 0, %" PHONGO_LONG_FORMAT " given", wtimeout);

0 commit comments

Comments
 (0)