From 34846cff4d5dc14e67899324f12fab80d2d6d396 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Wed, 16 Mar 2011 14:10:59 +0000 Subject: [PATCH] Remove unused macros --- ext/mysqlnd/mysqlnd_loaddata.c | 19 ------------------- 1 file changed, 19 deletions(-) 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) -- 2.40.0