summaryrefslogtreecommitdiff
path: root/ext/session/mod_user.c
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-21 10:34:09 -0700
committerChristopher Jones <sixd@php.net>2013-08-21 10:34:09 -0700
commitd85827fb7fc6983de6e58cb7412644dca407d67f (patch)
treec1ba675202030024b21f6abb7ba6eeb451d5f478 /ext/session/mod_user.c
parent618194859205c178a5359e60d8e156763036ddfd (diff)
downloadphp-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/mod_user.c')
-rw-r--r--ext/session/mod_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c
index 82fd419fcf..1b606b9a33 100644
--- a/ext/session/mod_user.c
+++ b/ext/session/mod_user.c
@@ -188,7 +188,7 @@ PS_CREATE_SID_FUNC(user)
/* maintain backwards compatibility */
if (PSF(create_sid) != NULL) {
char *id = NULL;
- STDVARS;
+ zval *retval = NULL;
retval = ps_call_handler(PSF(create_sid), 0, NULL TSRMLS_CC);