@@ -1107,7 +1107,7 @@ static zval *zend_ffi_cdata_get(zend_object *obj, zend_string *member, int read_
1107
1107
1108
1108
if (UNEXPECTED (!zend_string_equals_literal (member , "cdata" ))) {
1109
1109
zend_throw_error (zend_ffi_exception_ce , "Only 'cdata' property may be read" );
1110
- return & EG (uninitialized_zval );;
1110
+ return & EG (uninitialized_zval );
1111
1111
}
1112
1112
1113
1113
zend_ffi_cdata_to_zval (cdata , cdata -> ptr , type , BP_VAR_R , rv , 0 , 0 , 0 );
@@ -1123,13 +1123,13 @@ static zval *zend_ffi_cdata_set(zend_object *obj, zend_string *member, zval *val
1123
1123
#if 0
1124
1124
if (UNEXPECTED (!cdata -> ptr )) {
1125
1125
zend_throw_error (zend_ffi_exception_ce , "NULL pointer dereference" );
1126
- return & EG (uninitialized_zval );;
1126
+ return & EG (uninitialized_zval );
1127
1127
}
1128
1128
#endif
1129
1129
1130
1130
if (UNEXPECTED (!zend_string_equals_literal (member , "cdata" ))) {
1131
1131
zend_throw_error (zend_ffi_exception_ce , "Only 'cdata' property may be set" );
1132
- return & EG (uninitialized_zval );;
1132
+ return & EG (uninitialized_zval );
1133
1133
}
1134
1134
1135
1135
zend_ffi_zval_to_cdata (cdata -> ptr , type , value );
@@ -2648,7 +2648,7 @@ static zend_result zend_ffi_pass_arg(zval *arg, zend_ffi_type *type, ffi_type **
2648
2648
zend_ffi_cdata * cdata = (zend_ffi_cdata * )Z_OBJ_P (arg );
2649
2649
2650
2650
if (zend_ffi_is_compatible_type (type , ZEND_FFI_TYPE (cdata -> type ))) {
2651
- * pass_type = zend_ffi_make_fake_struct_type (type );;
2651
+ * pass_type = zend_ffi_make_fake_struct_type (type );
2652
2652
arg_values [n ] = cdata -> ptr ;
2653
2653
break ;
2654
2654
}
@@ -5770,7 +5770,7 @@ void zend_ffi_resolve_typedef(const char *name, size_t name_len, zend_ffi_dcl *d
5770
5770
if (FFI_G (symbols )) {
5771
5771
sym = zend_hash_str_find_ptr (FFI_G (symbols ), name , name_len );
5772
5772
if (sym && sym -> kind == ZEND_FFI_SYM_TYPE ) {
5773
- dcl -> type = ZEND_FFI_TYPE (sym -> type );;
5773
+ dcl -> type = ZEND_FFI_TYPE (sym -> type );
5774
5774
if (sym -> is_const ) {
5775
5775
dcl -> attr |= ZEND_FFI_ATTR_CONST ;
5776
5776
}
0 commit comments