From: Josh Oguin <[email protected]>
This was flagged as an ignored return value by CodeSonar.
---
cpukit/libcsupport/src/sync.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcsupport/src/sync.c
index 653a177..b8e5059 100644
--- a/cpukit/libcsupport/src/sync.c
+++ b/cpukit/libcsupport/src/sync.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -43,8 +43,8 @@ static void sync_wrapper(FILE *f)
* matter if they succeed. We are just making a best faith attempt
* at both and trusting that we were passed a good FILE pointer.
*/
- fsync(fn);
- fdatasync(fn);
+ (void) fsync(fn);
+ (void) fdatasync(fn);
}
/* iterate over all FILE *'s for this thread */
--
1.9.3
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel