Fix more "set but unused" warnings.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@317474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2011-05-05 22:36:33 +00:00
parent 3bc585feaf
commit 1ccfa50ba8
14 changed files with 48 additions and 72 deletions

View File

@@ -231,7 +231,6 @@ static int load_module(void)
{
struct ast_config *cfg;
struct ast_flags config_flags = { 0 };
int res;
const char *tmp;
if ((cfg = ast_config_load(cdr_config, config_flags)) && cfg != CONFIG_STATUS_FILEINVALID) {
@@ -259,7 +258,7 @@ static int load_module(void)
return AST_MODULE_LOAD_DECLINE;
}
res = ast_cdr_register(name, desc, radius_log);
ast_cdr_register(name, desc, radius_log);
return AST_MODULE_LOAD_SUCCESS;
}