Skip to content

Commit 4d174ff

Browse files
committed
Fix [-Wimplicit-fallthrough] warnings in FFI extension
1 parent 8ab0aef commit 4d174ff

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
@@ -2594,7 +2594,7 @@ static int zend_ffi_pass_var_arg(zval *arg, ffi_type **pass_type, void **arg_val
25942594

25952595
return zend_ffi_pass_arg(arg, type, pass_type, arg_values, n, execute_data);
25962596
}
2597-
/* break missing intentionally */
2597+
fallthrough;
25982598
default:
25992599
zend_throw_error(zend_ffi_exception_ce, "Unsupported argument type");
26002600
return FAILURE;

0 commit comments

Comments
 (0)