Skip to content
Snippets Groups Projects
Commit 852c514e authored by Sean Bright's avatar Sean Bright
Browse files

Remove some unused variables

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 8b1ed7aa
Branches
Tags
No related merge requests found
...@@ -407,14 +407,10 @@ static int tds_unload_module(void) ...@@ -407,14 +407,10 @@ static int tds_unload_module(void)
static int tds_load_module(int reload) static int tds_load_module(int reload)
{ {
int res = 0;
struct ast_config *cfg; struct ast_config *cfg;
struct ast_variable *var; struct ast_variable *var;
const char *ptr = NULL; const char *ptr = NULL;
struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
#ifdef FREETDS_PRE_0_62
TDS_INT result_type;
#endif
cfg = ast_config_load(config, config_flags); cfg = ast_config_load(config, config_flags);
if (!cfg) { if (!cfg) {
...@@ -493,7 +489,7 @@ static int tds_load_module(int reload) ...@@ -493,7 +489,7 @@ static int tds_load_module(int reload)
mssql_connect(); mssql_connect();
ast_mutex_unlock(&tds_lock); ast_mutex_unlock(&tds_lock);
return res; return 1;
} }
static int reload(void) static int reload(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment