diff options
author | Russell Bryant <russell@russellbryant.com> | 2011-05-05 22:44:52 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2011-05-05 22:44:52 +0000 |
commit | f0f5e237bf96ed5531b164935bbe8dca1c7b70ed (patch) | |
tree | 2b7d632f7f42d434363d7dee71d987562eb56ed9 /cel | |
parent | c28e2d380c185b8cda44b468504bb8a6892714a6 (diff) |
Merged revisions 317474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r317474 | russell | 2011-05-05 17:36:33 -0500 (Thu, 05 May 2011) | 2 lines
Fix more "set but unused" warnings.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cel')
-rw-r--r-- | cel/cel_pgsql.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cel/cel_pgsql.c b/cel/cel_pgsql.c index ca064ec22..c1861c855 100644 --- a/cel/cel_pgsql.c +++ b/cel/cel_pgsql.c @@ -535,7 +535,6 @@ static int process_my_load_module(struct ast_config *cfg) static int my_load_module(int reload) { struct ast_config *cfg; - int res; struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; if ((cfg = ast_config_load(config, config_flags)) == NULL || cfg == CONFIG_STATUS_FILEINVALID) { @@ -545,7 +544,7 @@ static int my_load_module(int reload) return AST_MODULE_LOAD_SUCCESS; } - res = process_my_load_module(cfg); + process_my_load_module(cfg); ast_config_destroy(cfg); event_sub = ast_event_subscribe(AST_EVENT_CEL, pgsql_log, "CEL PGSQL backend", NULL, AST_EVENT_IE_END); |