From 6ff105d6b307824807b46cddedabc8f7a659632b Mon Sep 17 00:00:00 2001 From: Ken Rice Date: Sat, 24 Jan 2009 01:14:10 +0000 Subject: [PATCH] fix build error when --enable-core-odbc-support not used at configure time git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11478 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_easyroute/mod_easyroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_easyroute/mod_easyroute.c b/src/mod/applications/mod_easyroute/mod_easyroute.c index 0d9a121796..89da125e15 100644 --- a/src/mod/applications/mod_easyroute/mod_easyroute.c +++ b/src/mod/applications/mod_easyroute/mod_easyroute.c @@ -197,8 +197,8 @@ static char SQL_LOOKUP[] = "SELECT gateways.gateway_ip, gateways.group, gateways static switch_status_t route_lookup(char *dn, easyroute_results_t *results, int noat, char *seperator) { -#ifdef SWITCH_HAVE_ODBC switch_status_t sstatus = SWITCH_STATUS_SUCCESS; +#ifdef SWITCH_HAVE_ODBC char *sql = NULL; route_callback_t pdata;