Re: [PATCH v2] score: Define _Assert() for static analysis runs

2021-02-01 Thread Gedare Bloom
Thanks, I like that. On Sun, Jan 31, 2021 at 11:07 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > The goal is to reduce false positive NULL_RETURNS, > PW.NORETURN_FUNCTION_DOES_RETURN, PW.SET_BUT_NOT_USED, > UNUSED_VALUE, etc. issues produced by Coverity. > > Define RTEMS_STATI

[PATCH v2] score: Define _Assert() for static analysis runs

2021-01-31 Thread Sebastian Huber
The goal is to reduce false positive NULL_RETURNS, PW.NORETURN_FUNCTION_DOES_RETURN, PW.SET_BUT_NOT_USED, UNUSED_VALUE, etc. issues produced by Coverity. Define RTEMS_STATIC_ANALYSIS if a static analysis run by Coverity is performed. --- cpukit/include/rtems/score/assert.h | 4 ++-- cpukit/inc