diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_chanspy.c | 2 | ||||
-rw-r--r-- | apps/app_disa.c | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 07cc3d666..bf7b89416 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -1249,6 +1249,7 @@ static int extenspy_exec(struct ast_channel *chan, const char *data) } } else { + /* Coverity - This uninit_use should be ignored since this macro initializes the flags */ ast_clear_flag(&flags, AST_FLAGS_ALL); } @@ -1293,6 +1294,7 @@ static int dahdiscan_exec(struct ast_channel *chan, const char *data) int res; char *mygroup = NULL; + /* Coverity - This uninit_use should be ignored since this macro initializes the flags */ ast_clear_flag(&flags, AST_FLAGS_ALL); ast_format_clear(&oldwf); if (!ast_strlen_zero(data)) { diff --git a/apps/app_disa.c b/apps/app_disa.c index b38da7654..c43370c95 100644 --- a/apps/app_disa.c +++ b/apps/app_disa.c @@ -181,8 +181,13 @@ static int disa_exec(struct ast_channel *chan, const char *data) args.context = "disa"; if (ast_strlen_zero(args.mailbox)) args.mailbox = ""; - if (!ast_strlen_zero(args.options)) + if (!ast_strlen_zero(args.options)) { ast_app_parse_options(app_opts, &flags, NULL, args.options); + } else { + /* Coverity - This uninit_use should be ignored since this macro initializes the flags */ + ast_clear_flag(&flags, AST_FLAGS_ALL); + } + ast_debug(1, "Mailbox: %s\n",args.mailbox); |