Skip to content

Commit dc5f117

Browse files
committed
Fix [-Wimplicit-fallthrough] warnings in FFI extension
1 parent 782da7d commit dc5f117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ffi/ffi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2598,7 +2598,7 @@ static int zend_ffi_pass_var_arg(zval *arg, ffi_type **pass_type, void **arg_val
25982598

25992599
return zend_ffi_pass_arg(arg, type, pass_type, arg_values, n, execute_data);
26002600
}
2601-
/* break missing intentionally */
2601+
fallthrough;
26022602
default:
26032603
zend_throw_error(zend_ffi_exception_ce, "Unsupported argument type");
26042604
return FAILURE;

0 commit comments

Comments
 (0)