[rtems commit] cpukit/libblock: Ignore error notify return value
Joel Sherrill
joel at rtems.org
Wed Jan 31 20:03:40 UTC 2024
Module: rtems
Branch: master
Commit: 0d5319d49a83fbfc2c35224da6e7cb4a16564ceb
Changeset: http://git.rtems.org/rtems/commit/?id=0d5319d49a83fbfc2c35224da6e7cb4a16564ceb
Author: Kinsey Moore <kinsey.moore at oarcorp.com>
Date: Wed Jan 24 11:52:45 2024 -0600
cpukit/libblock: Ignore error notify return value
This is already in the error path.
---
cpukit/libblock/src/media.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/libblock/src/media.c b/cpukit/libblock/src/media.c
index 1ab7dd2034..cc6bb70f91 100644
--- a/cpukit/libblock/src/media.c
+++ b/cpukit/libblock/src/media.c
@@ -194,7 +194,7 @@ static void error(
const char *dest
)
{
- notify(RTEMS_MEDIA_EVENT_ERROR, state, src, dest);
+ (void) notify(RTEMS_MEDIA_EVENT_ERROR, state, src, dest);
}
static media_item *get_media_item(
More information about the vc
mailing list