mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 15:08:53 +00:00
removed unused variable (issue #5455)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6593,7 +6593,6 @@ static struct iax2_user *build_user(char *name, struct ast_variable *v)
|
|||||||
struct ast_ha *oldha = NULL;
|
struct ast_ha *oldha = NULL;
|
||||||
struct iax2_context *oldcon = NULL;
|
struct iax2_context *oldcon = NULL;
|
||||||
int format;
|
int format;
|
||||||
int found;
|
|
||||||
|
|
||||||
prev = NULL;
|
prev = NULL;
|
||||||
ast_mutex_lock(&userl.lock);
|
ast_mutex_lock(&userl.lock);
|
||||||
@@ -6606,7 +6605,6 @@ static struct iax2_user *build_user(char *name, struct ast_variable *v)
|
|||||||
user = user->next;
|
user = user->next;
|
||||||
}
|
}
|
||||||
if (user) {
|
if (user) {
|
||||||
found++;
|
|
||||||
oldha = user->ha;
|
oldha = user->ha;
|
||||||
oldcon = user->contexts;
|
oldcon = user->contexts;
|
||||||
user->ha = NULL;
|
user->ha = NULL;
|
||||||
|
Reference in New Issue
Block a user