mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +00:00
Coverity Report: Fix issues for error type UNINIT in Core supported modules
(issue ASTERISK-19652) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/1909/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@366048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1250,6 +1250,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);
|
||||
}
|
||||
|
||||
@@ -1294,6 +1295,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);
|
||||
|
||||
if (!ast_strlen_zero(data)) {
|
||||
|
||||
Reference in New Issue
Block a user