Hi There are more than a couple of these. in our set of CIDs. I am wondering if these can be addressed with a macro like this:
#define _IGNORED_RETURN_STATUS(_status, _ok) \ do { \ _Assert((_status) == (_ok)); \ (void) (_status); } while (0); Or _Assert_Ignored_return? The ones I have looked at, the return value should always be successful but there isn't any reason we can't be defensive about them. Thoughts. --joel
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel