Skip to content

Commit

Permalink
Suppressed warning about this function is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Sep 15, 2015
1 parent a261938 commit 066c05e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/session/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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])
Expand Down

0 comments on commit 066c05e

Please sign in to comment.