Skip to content
Browse files

- Move SET_UNUSED() to header

  • Loading branch information...
1 parent 86a13dd commit 1ccf94066cd6f00ccb3b4d0f572c35514030cb44 @andigutmans andigutmans committed Nov 11, 2000
Showing with 1 addition and 3 deletions.
  1. +0 −3 Zend/zend_compile.c
  2. +1 −0 Zend/zend_compile.h
View
3 Zend/zend_compile.c
@@ -34,9 +34,6 @@ ZEND_API zend_compiler_globals compiler_globals;
ZEND_API zend_executor_globals executor_globals;
#endif
-
-#define SET_UNUSED(op) (op).op_type = IS_UNUSED
-
static void free_filename(void *p)
{
efree(*((char **) p));
View
1 Zend/zend_compile.h
@@ -44,6 +44,7 @@
#define FREE_PNODE(znode) zval_dtor(&znode->u.constant);
#define FREE_OP(op, should_free) if (should_free) zval_dtor(&Ts[(op)->u.var].tmp_var);
+#define SET_UNUSED(op) (op).op_type = IS_UNUSED
#if SUPPORT_INTERACTIVE
#define INC_BPC(op_array) ((op_array)->backpatch_count++)

0 comments on commit 1ccf940

Please sign in to comment.
Something went wrong with that request. Please try again.