File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ PS_CREATE_SID_FUNC(user)
188
188
/* maintain backwards compatibility */
189
189
if (PSF (create_sid ) != NULL ) {
190
190
char * id = NULL ;
191
- STDVARS ;
191
+ zval * retval = NULL ;
192
192
193
193
retval = ps_call_handler (PSF (create_sid ), 0 , NULL TSRMLS_CC );
194
194
Original file line number Diff line number Diff line change @@ -831,9 +831,6 @@ PS_SERIALIZER_ENCODE_FUNC(php_serialize) /* {{{ */
831
831
{
832
832
smart_str buf = {0 };
833
833
php_serialize_data_t var_hash ;
834
- HashTable * _ht = Z_ARRVAL_P (PS (http_session_vars ));
835
- int key_type ;
836
- PS_ENCODE_VARS ;
837
834
838
835
PHP_VAR_SERIALIZE_INIT (var_hash );
839
836
php_var_serialize (& buf , & PS (http_session_vars ), & var_hash TSRMLS_CC );
@@ -849,12 +846,8 @@ PS_SERIALIZER_ENCODE_FUNC(php_serialize) /* {{{ */
849
846
850
847
PS_SERIALIZER_DECODE_FUNC (php_serialize ) /* {{{ */
851
848
{
852
- const char * p ;
853
- char * name ;
854
849
const char * endptr = val + vallen ;
855
850
zval * session_vars ;
856
- int namelen ;
857
- int has_value ;
858
851
php_unserialize_data_t var_hash ;
859
852
860
853
PHP_VAR_UNSERIALIZE_INIT (var_hash );
You can’t perform that action at this time.
0 commit comments