summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_statistics.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-01-19 17:51:02 +0000
committerAndrey Hristov <andrey@php.net>2011-01-19 17:51:02 +0000
commit87a2104c1a4be4aaacbafe2eab28e9d0296eda5b (patch)
treed4d033303403fda51d5f9b3fe1812ce99d25a1a3 /ext/mysqlnd/mysqlnd_statistics.c
parenta27baa716179d94cf173aadb86b28d82033fc426 (diff)
downloadphp-git-87a2104c1a4be4aaacbafe2eab28e9d0296eda5b.tar.gz
fix ZTS build
Diffstat (limited to 'ext/mysqlnd/mysqlnd_statistics.c')
-rw-r--r--ext/mysqlnd/mysqlnd_statistics.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_statistics.c b/ext/mysqlnd/mysqlnd_statistics.c
index 3098a7cfa6..23683bfa87 100644
--- a/ext/mysqlnd/mysqlnd_statistics.c
+++ b/ext/mysqlnd/mysqlnd_statistics.c
@@ -246,7 +246,6 @@ mysqlnd_stats_init(MYSQLND_STATS ** stats, size_t statistic_count)
{
*stats = calloc(1, sizeof(MYSQLND_STATS));
if (*stats == NULL) {
- DBG_ENTER("mysqlnd_stats_init failed to calloc stats context");
return;
}
(*stats)->values = calloc(statistic_count, sizeof(uint64_t));
@@ -256,7 +255,6 @@ mysqlnd_stats_init(MYSQLND_STATS ** stats, size_t statistic_count)
#ifdef ZTS
(*stats)->LOCK_access = tsrm_mutex_alloc();
#endif
-
}
/* }}} */