diff options
author | Kinsey Moore <kmoore@digium.com> | 2012-06-11 15:23:30 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2012-06-11 15:23:30 +0000 |
commit | c6142cf2cc7312122abcf74d6ab1daf0ad1d72bf (patch) | |
tree | 3d00ae5c1e40b99710f72f10a1f65d62ce83b01d /res/res_fax.c | |
parent | 566ea22e1878ad6a576431d1035a5fe9b4a936d1 (diff) |
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
Diffstat (limited to 'res/res_fax.c')
-rw-r--r-- | res/res_fax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_fax.c b/res/res_fax.c index 7b628d364..50c1c368d 100644 --- a/res/res_fax.c +++ b/res/res_fax.c @@ -583,7 +583,7 @@ static int update_modem_bits(enum ast_fax_modems *bits, const char *value) char *m[5], *tok, *v = (char *)value; int i = 0, j; - if (!(tok = strchr(v, ','))) { + if (!strchr(v, ',')) { m[i++] = v; m[i] = NULL; } else { |