Opened on 03/12/21 at 16:29:10
Closed on 04/08/21 at 23:02:06
#4339 closed defect (fixed)
main_cp.c: Unused value error spotted by Coverity
Reported by: | Ryan Long | Owned by: | Ryan Long <ryan.long@…> |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | lib | Version: | 6 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
CID 1255344: Unused value in copy().
315 case FTS_DC: /* Warn, continue. */ 316 warnx("%s: directory causes a cycle", curr->fts_path); CID 1255344 (#5 of 5): Unused value (UNUSED_VALUE)assigned_value: Assigning value from rval to badcp here, but that stored value is overwritten before it can be used. 317 badcp = rval = 1; 318 continue;
Change History (1)
comment:1 Changed on 04/08/21 at 23:02:06 by Ryan Long <ryan.long@…>
Owner: | set to Ryan Long <ryan.long@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In [changeset:"fbc764403f4436e1863a8a2a386a9a290dd14129/rtems" fbc76440/rtems]: