[PATCH] cpukit/libblock: Ignore error notify return value

Kinsey Moore kinsey.moore at oarcorp.com
Wed Jan 24 17:54:32 UTC 2024


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(
-- 
2.39.2



More information about the devel mailing list