[RTEMS Project] #4301: grcan.c: Unused value error spotted by Coverity
RTEMS trac
trac at rtems.org
Thu Mar 4 18:43:13 UTC 2021
#4301: grcan.c: Unused value error spotted by Coverity
------------------------+--------------------
Reporter: Ryan Long | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: bsps | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------+--------------------
CID 1437613: Unused value in grcan_set_sfilter().
{{{
1788 /* disable TX/RX SYNC filtering */
CID 1437613 (#1 of 1): Unused value (UNUSED_VALUE)assigned_value:
Assigning value 4294967295ULL to pDev->sfilter.mask here, but that stored
value is overwritten before it can be used.
1789 pDev->sfilter.mask = 0xffffffff;
value_overwrite: Overwriting previous write to pDev->sfilter.mask with
value 0ULL.
1790 pDev->sfilter.mask = 0;
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4301>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list