diff options
| author | Christopher Jones <sixd@php.net> | 2013-08-21 10:34:09 -0700 |
|---|---|---|
| committer | Christopher Jones <sixd@php.net> | 2013-08-21 10:34:09 -0700 |
| commit | d85827fb7fc6983de6e58cb7412644dca407d67f (patch) | |
| tree | c1ba675202030024b21f6abb7ba6eeb451d5f478 /ext/session/session.c | |
| parent | 618194859205c178a5359e60d8e156763036ddfd (diff) | |
| download | php-git-d85827fb7fc6983de6e58cb7412644dca407d67f.tar.gz | |
Reduce compilation noise during normal compilation:
php-5.5/ext/session/session.c:836: warning: unused variable ‘struc’
php-5.5/ext/session/session.c:836: warning: unused variable ‘num_key’
php-5.5/ext/session/session.c:836: warning: unused variable ‘key_length’
php-5.5/ext/session/session.c:836: warning: unused variable ‘key’
php-5.5/ext/session/session.c:835: warning: unused variable ‘key_type’
php-5.5/ext/session/session.c:834: warning: unused variable ‘_ht’
php-5.5/ext/session/session.c:857: warning: unused variable ‘has_value’
php-5.5/ext/session/session.c:856: warning: unused variable ‘namelen’
php-5.5/ext/session/session.c:853: warning: unused variable ‘name’
php-5.5/ext/session/session.c:852: warning: unused variable ‘p’
php-5.5/ext/session/mod_user.c:191: warning: unused variable ‘ret’
Diffstat (limited to 'ext/session/session.c')
| -rw-r--r-- | ext/session/session.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 1db20185f0..7bb6584621 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -831,9 +831,6 @@ PS_SERIALIZER_ENCODE_FUNC(php_serialize) /* {{{ */ { smart_str buf = {0}; php_serialize_data_t var_hash; - HashTable *_ht = Z_ARRVAL_P(PS(http_session_vars)); - int key_type; - PS_ENCODE_VARS; PHP_VAR_SERIALIZE_INIT(var_hash); php_var_serialize(&buf, &PS(http_session_vars), &var_hash TSRMLS_CC); @@ -849,12 +846,8 @@ PS_SERIALIZER_ENCODE_FUNC(php_serialize) /* {{{ */ PS_SERIALIZER_DECODE_FUNC(php_serialize) /* {{{ */ { - const char *p; - char *name; const char *endptr = val + vallen; zval *session_vars; - int namelen; - int has_value; php_unserialize_data_t var_hash; PHP_VAR_UNSERIALIZE_INIT(var_hash); |
