Hi, I created some macros to assert the status returned from function calls, and use that status based on Gedare and Joel's suggestions. I implemented the macros in consolesimpletask.c. I fixed some issues for the 'Dereference before null check' in a couple of files. This mainly entailed moving around the dereferencing of values.
Thanks, Ryan Ryan Long (4): assert.h: Add macros to assert status and use it consolesimpletask.c: Fix Coverity Unchecked return value rtems-debugger-threads.c: Fix Coverity Dereference before null check rtems-debugger-target.c: Fix Coverity Dereference before null check cpukit/include/rtems/score/assert.h | 30 +++++++++++++++++++++++++++++ cpukit/libcsupport/src/consolesimpletask.c | 7 +++++-- cpukit/libdebugger/rtems-debugger-target.c | 5 +++-- cpukit/libdebugger/rtems-debugger-threads.c | 14 +++++++++++--- 4 files changed, 49 insertions(+), 7 deletions(-) -- 1.8.3.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel