Changeset e2002659 in rtems


Ignore:
Timestamp:
Feb 19, 2021, 10:34:26 PM (2 months ago)
Author:
Ryan Long <ryan.long@…>
Branches:
master
Children:
f0f8c111
Parents:
e5e58da
git-author:
Ryan Long <ryan.long@…> (02/19/21 22:34:26)
git-committer:
Joel Sherrill <joel@…> (02/26/21 22:56:07)
Message:

rtems-debugger-threads.c: Fix Unchecked return value error (CID #1468688)

CID 1468688: Unchecked return value in snapshot_thread().

Closes #4262

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdebugger/rtems-debugger-threads.c

    re5e58da re2002659  
    171171  bool                    exclude = false;
    172172  size_t                  i;
     173  int                     sc;
    173174
    174175  /*
     
    273274     * Read the target registers into the thread register array.
    274275     */
    275     rtems_debugger_target_read_regs(thread);
     276    sc = rtems_debugger_target_read_regs(thread);
     277    _Assert_Unused_variable_equals(sc, 0);
    276278
    277279    if (rtems_debugger_server_flag(RTEMS_DEBUGGER_FLAG_VERBOSE))
Note: See TracChangeset for help on using the changeset viewer.