Only used in ZTS

This commit is contained in:
Xinchen Hui 2015-03-21 13:58:29 +08:00
parent 595e46fdeb
commit 775a257cef

View file

@ -267,10 +267,10 @@ static void accel_interned_strings_save_state(void)
} }
#endif #endif
#ifndef ZTS
static zend_string *accel_find_interned_string(zend_string *str) static zend_string *accel_find_interned_string(zend_string *str)
{ {
/* for now interned strings are supported only for non-ZTS build */ /* for now interned strings are supported only for non-ZTS build */
#ifndef ZTS
zend_ulong h; zend_ulong h;
uint nIndex; uint nIndex;
uint idx; uint idx;
@ -296,10 +296,10 @@ static zend_string *accel_find_interned_string(zend_string *str)
} }
idx = Z_NEXT(p->val); idx = Z_NEXT(p->val);
} }
#endif
return NULL; return NULL;
} }
#endif
zend_string *accel_new_interned_string(zend_string *str) zend_string *accel_new_interned_string(zend_string *str)
{ {