mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
Fix coverity UNUSED_VALUE findings in core support level files
Most of these were just saving returned values without using them and in some cases the variable being saved to could be removed as well. (issue ASTERISK-19672) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@368738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1079,7 +1079,7 @@ AST_TEST_DEFINE(get_in_brackets_test)
|
||||
}
|
||||
|
||||
/* Test 6, NULL input */
|
||||
if ((uri = get_in_brackets(NULL))) {
|
||||
if (get_in_brackets(NULL)) {
|
||||
ast_test_status_update(test, "Test 6, NULL input failed.\n");
|
||||
res = AST_TEST_FAIL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user