mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
Remove some unused variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
|||||||
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user