From b08b7ccafd13aa5f3625f16226c0f4cf21e316b8 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Tue, 1 Dec 2009 16:06:29 +0000 Subject: * Silence compiler warning git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@885813 13f79535-47bb-0310-9956-ffa450edef68 --- dbd/apr_dbd_mysql.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dbd') diff --git a/dbd/apr_dbd_mysql.c b/dbd/apr_dbd_mysql.c index 4b2790aac..df4f6e3b0 100644 --- a/dbd/apr_dbd_mysql.c +++ b/dbd/apr_dbd_mysql.c @@ -1131,7 +1131,9 @@ static apr_dbd_t *dbd_mysql_open(apr_pool_t *pool, const char *params, {NULL, NULL} }; unsigned int port = 0; +#if MYSQL_VERSION_ID >= 50013 unsigned int timeout = 0; +#endif apr_dbd_t *sql = apr_pcalloc(pool, sizeof(apr_dbd_t)); sql->fldsz = FIELDSIZE; sql->conn = mysql_init(sql->conn); -- cgit v1.2.1