Notice: We have migrated to GitLab launching 2024-05-01 see here:

#4423 closed defect (fixed)

record-client.c: Unchecked return value error spotted by Coverity

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


CID 1503011: Unchecked return value in resolve_hold_back().

191    for ( index = begin_index; index < per_cpu->item_index; ++index ) {
192      const rtems_record_item_64 *item;
194      item = &per_cpu->items[ index ];
   CID 1503011 (#1 of 1): Unchecked return value (CHECKED_RETURN)12. check_return: Calling visit without checking return value (as is done elsewhere 4 out of 5 times).
195      visit( ctx, item->event, item->data );

Change History (2)

comment:1 Changed on 05/18/21 at 15:56:40 by Ryan Long

Keywords: Coverity added

comment:2 Changed on 09/30/21 at 16:07:40 by Ryan Long <ryan.long@…>

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

In [changeset:"7c37893893fe879c21724fbf7ffda3c50a1bd086/rtems-tools" 7c37893/rtems-tools]:

record-client.c: Ignore return value from visit()

CID 1503011: Unchecked return value in resolve_hold_back().

Closes #4423

Note: See TracTickets for help on using tickets.