Changeset 121 in svn


Ignore:
Timestamp:
2006-09-02T04:09:03+02:00 (9 years ago)
Author:
Xuefer
Message:

removed unused xc_constant_copy_ctor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r103 r121  
    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.