aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_iax2.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_iax2.c')
-rwxr-xr-xchannels/chan_iax2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index ba619c36e..d9498d26a 100755
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -6593,7 +6593,6 @@ static struct iax2_user *build_user(char *name, struct ast_variable *v)
struct ast_ha *oldha = NULL;
struct iax2_context *oldcon = NULL;
int format;
- int found;
prev = NULL;
ast_mutex_lock(&userl.lock);
@@ -6606,7 +6605,6 @@ static struct iax2_user *build_user(char *name, struct ast_variable *v)
user = user->next;
}
if (user) {
- found++;
oldha = user->ha;
oldcon = user->contexts;
user->ha = NULL;