aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_config.c
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-07 01:07:40 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-07 01:07:40 +0000
commit6fee1d16837e78db2ff1ed6996365af6e7b16676 (patch)
tree8a7b4f6974ca0030014fcfd6eb3aec3662e4c251 /funcs/func_config.c
parent4965ac5e3659bb6bbaaf6470979caeb0b85fb6da (diff)
Continue merging in changes from resolve-shadow-warnings. funcs/ this time.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136302 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_config.c')
-rw-r--r--funcs/func_config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/funcs/func_config.c b/funcs/func_config.c
index 0c734e0c9..6bed8a9b2 100644
--- a/funcs/func_config.c
+++ b/funcs/func_config.c
@@ -170,13 +170,13 @@ static struct ast_custom_function config_function = {
static int unload_module(void)
{
- struct config_item *cur;
+ struct config_item *current;
int res = ast_custom_function_unregister(&config_function);
AST_RWLIST_WRLOCK(&configs);
- while ((cur = AST_RWLIST_REMOVE_HEAD(&configs, entry))) {
- ast_config_destroy(cur->cfg);
- ast_free(cur);
+ while ((current = AST_RWLIST_REMOVE_HEAD(&configs, entry))) {
+ ast_config_destroy(current->cfg);
+ ast_free(current);
}
AST_RWLIST_UNLOCK(&configs);