Changeset 5db5290 in git


Ignore:
Timestamp:
2006-09-02T02:09:03Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.1, 1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
40c027b
Parents:
a031765
Message:

removed unused xc_constant_copy_ctor

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@121 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils.c

    r4ec818c r5db5290  
    360360#define OG(x) (sandbox->orig_##x)
    361361/* }}} */
    362 #ifdef HAVE_XCACHE_CONSTANT
    363 static void xc_constant_copy_ctor(zend_constant *c) /* {{{ */
    364 {
    365 #ifdef IS_UNICODE
    366     if (UG(unicode)) {
    367         ZSTR_U(c->name) = zend_ustrndup(ZSTR_U(c->name), c->name_len - 1);
    368     }
    369     else
    370 #endif
    371     {
    372         ZSTR_S(c->name) = zend_strndup(ZSTR_S(c->name), c->name_len - 1);
    373     }
    374     if (!(c->flags & CONST_PERSISTENT)) {
    375         zval_copy_ctor(&c->value);
    376     }
    377 }
    378 /* }}} */
    379 #endif
    380362xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, char *filename TSRMLS_DC) /* {{{ */
    381363{
Note: See TracChangeset for help on using the changeset viewer.