From: Andrey Hristov Date: Wed, 16 Mar 2011 14:10:59 +0000 (+0000) Subject: Remove unused macros X-Git-Tag: php-5.4.0alpha1~191^2~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34846cff4d5dc14e67899324f12fab80d2d6d396;p=php Remove unused macros --- diff --git a/ext/mysqlnd/mysqlnd_loaddata.c b/ext/mysqlnd/mysqlnd_loaddata.c index 52752f1cc0..e7803c8169 100644 --- a/ext/mysqlnd/mysqlnd_loaddata.c +++ b/ext/mysqlnd/mysqlnd_loaddata.c @@ -25,25 +25,6 @@ #include "mysqlnd_priv.h" #include "mysqlnd_debug.h" - -#define ALLOC_CALLBACK_ARGS(a, b, c)\ -if (c) {\ - a = (zval ***)safe_emalloc(c, sizeof(zval **), 0);\ - for (i = b; i < c; i++) {\ - a[i] = mnd_emalloc(sizeof(zval *));\ - MAKE_STD_ZVAL(*a[i]);\ - }\ -} - -#define FREE_CALLBACK_ARGS(a, b, c)\ -if (a) {\ - for (i = b; i < c; i++) {\ - zval_ptr_dtor(a[i]);\ - mnd_efree(a[i]);\ - }\ - mnd_efree(a);\ -} - /* {{{ mysqlnd_local_infile_init */ static int mysqlnd_local_infile_init(void **ptr, char *filename, void **userdata TSRMLS_DC)