summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2016-04-27 13:46:38 +0300
committerDmitry Stogov <dmitry@zend.com>2016-04-27 13:46:38 +0300
commitf0a2e8eb13b3971ec11baa2a6029ed7c4cb0064b (patch)
treeeac694e9f9f4f521947d7b27a51db7bd83e30c70 /ext/pdo_sqlite
parent1a154c7db5685361a14e4f2985a292f6cfc3a7bf (diff)
downloadphp-git-f0a2e8eb13b3971ec11baa2a6029ed7c4cb0064b.tar.gz
Removed "zend_fcall_info.function_table". It was assigned in many places, but is never used.
Diffstat (limited to 'ext/pdo_sqlite')
-rw-r--r--ext/pdo_sqlite/sqlite_driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/pdo_sqlite/sqlite_driver.c b/ext/pdo_sqlite/sqlite_driver.c
index 8c732b9dbe..4e729aab0e 100644
--- a/ext/pdo_sqlite/sqlite_driver.c
+++ b/ext/pdo_sqlite/sqlite_driver.c
@@ -325,7 +325,6 @@ static int do_callback(struct pdo_sqlite_fci *fc, zval *cb,
fake_argc = argc + is_agg;
fc->fci.size = sizeof(fc->fci);
- fc->fci.function_table = EG(function_table);
ZVAL_COPY_VALUE(&fc->fci.function_name, cb);
fc->fci.object = NULL;
fc->fci.retval = &retval;
@@ -475,7 +474,6 @@ static int php_sqlite3_collation_callback(void *context,
struct pdo_sqlite_collation *collation = (struct pdo_sqlite_collation*) context;
collation->fc.fci.size = sizeof(collation->fc.fci);
- collation->fc.fci.function_table = EG(function_table);
ZVAL_COPY_VALUE(&collation->fc.fci.function_name, &collation->callback);
collation->fc.fci.object = NULL;
collation->fc.fci.retval = &retval;