#4301 closed defect (fixed)

grcan.c: Unused value error spotted by Coverity

Reported by: Ryan Long Owned by: Ryan Long <ryan.long@…>
Priority: normal Milestone: 6.1
Component: bsps Version: 6
Severity: normal Keywords:
Cc: Blocked By:


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;

Change History (1)

comment:1 Changed on 03/05/21 at 20:20:29 by Ryan Long <ryan.long@…>

Owner: set to Ryan Long <ryan.long@…>
Resolution: fixed
Status: newclosed

In f762b7c2/rtems:

grcan.c: Fix Unused value (CID #1437613)

CID 1437613: Unused value in grcan_set_filter().
This fix was recommended by Daniel Hellstrom (daniel@…).

Closes #4301

Note: See TracTickets for help on using tickets.