mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
cleanup TSRMLS_FETCH in com
This commit is contained in:
parent
d6096f6036
commit
c032299d4f
@ -55,7 +55,6 @@ static void istream_dtor(zend_resource *rsrc TSRMLS_DC)
|
||||
|
||||
#define FETCH_STM() \
|
||||
php_istream *stm = (php_istream*)This; \
|
||||
TSRMLS_FETCH(); \
|
||||
if (GetCurrentThreadId() != stm->engine_thread) \
|
||||
return RPC_E_WRONG_THREAD;
|
||||
|
||||
|
@ -88,7 +88,6 @@ static inline void trace(char *fmt, ...)
|
||||
|
||||
#define FETCH_DISP(methname) \
|
||||
php_dispatchex *disp = (php_dispatchex*)This; \
|
||||
TSRMLS_FETCH(); \
|
||||
if (COMG(rshutdown_started)) { \
|
||||
trace(" PHP Object:%p (name:unknown) %s\n", Z_OBJ(disp->object), methname); \
|
||||
} else { \
|
||||
|
Loading…
Reference in New Issue
Block a user