summaryrefslogtreecommitdiff
path: root/apps/app_disa.c
diff options
context:
space:
mode:
authorWalter Doekes <walter+asterisk@wjd.nu>2012-02-08 20:49:48 +0000
committerWalter Doekes <walter+asterisk@wjd.nu>2012-02-08 20:49:48 +0000
commitdb24fc2523da16bd812abb2a35b6320d24083e3f (patch)
tree4f4d564d4c32538014aefd01789f3f2bffc5520e /apps/app_disa.c
parent0adeb88318467f75f84a70990b1f982b9ca470f3 (diff)
Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
Patch by: Clod Patry Review: https://reviewboard.asterisk.org/r/1651 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_disa.c')
-rw-r--r--apps/app_disa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_disa.c b/apps/app_disa.c
index 78830f1c3..7d92b7642 100644
--- a/apps/app_disa.c
+++ b/apps/app_disa.c
@@ -214,7 +214,7 @@ static int disa_exec(struct ast_channel *chan, const char *data)
break;
}
- if ((res = ast_waitfor(chan, -1) < 0)) {
+ if ((res = ast_waitfor(chan, -1)) < 0) {
ast_debug(1, "Waitfor returned %d\n", res);
continue;
}