diff options
author | Andrey Hristov <andrey@php.net> | 2011-03-16 14:10:59 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-03-16 14:10:59 +0000 |
commit | 34846cff4d5dc14e67899324f12fab80d2d6d396 (patch) | |
tree | efcaad43ea37bad4570ca774cc69b514095efe53 /ext/mysqlnd/mysqlnd_loaddata.c | |
parent | 5d9b15feb11dd279a63505e19d01a665300dfcf9 (diff) | |
download | php-git-34846cff4d5dc14e67899324f12fab80d2d6d396.tar.gz |
Remove unused macros
Diffstat (limited to 'ext/mysqlnd/mysqlnd_loaddata.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_loaddata.c | 19 |
1 files changed, 0 insertions, 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) |