mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +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) ........ Merged revisions 368738 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 368739 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2502,7 +2502,7 @@ static struct call_queue *find_queue_by_name_rt(const char *queuename, struct as
|
||||
memset(tmpbuf, 0, sizeof(tmpbuf));
|
||||
for (v = queue_vars; v; v = v->next) {
|
||||
/* Convert to dashes `-' from underscores `_' as the latter are more SQL friendly. */
|
||||
if ((tmp = strchr(v->name, '_'))) {
|
||||
if (strchr(v->name, '_')) {
|
||||
ast_copy_string(tmpbuf, v->name, sizeof(tmpbuf));
|
||||
tmp_name = tmpbuf;
|
||||
tmp = tmpbuf;
|
||||
|
||||
Reference in New Issue
Block a user