com php-src: Suppressed warning about this function is not used: ext/session/session.c

From: Date: Tue, 15 Sep 2015 15:54:14 +0000
Subject: com php-src: Suppressed warning about this function is not used: ext/session/session.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89036@lists.php.net to get a copy of this message
Commit: 066c05e51fbde05aefe56ebb254c9e8e6dd391ef Author: Xinchen Hui <laruence@gmail.com> Tue, 15 Sep 2015 08:54:14 -0700 Parents: a261938d50fb404c91988b5ae419010ffebed281 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=066c05e51fbde05aefe56ebb254c9e8e6dd391ef Log: Suppressed warning about this function is not used Changed paths: M ext/session/session.c Diff: diff --git a/ext/session/session.c b/ext/session/session.c index c050b71..7e20698 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -2110,6 +2110,8 @@ static PHP_FUNCTION(session_regenerate_id) /* {{{ proto void session_create_id([string prefix]) Generate new session ID. Intended for user save handlers. */ +#if 0 +/* This is not used yet */ static PHP_FUNCTION(session_create_id) { zend_string *prefix = NULL, *new_id; @@ -2147,6 +2149,7 @@ static PHP_FUNCTION(session_create_id) RETVAL_NEW_STR(id.s); smart_str_free(&id); } +#endif /* }}} */ /* {{{ proto string session_cache_limiter([string new_cache_limiter])

« previous php.cvs (#89036) next »