Module: xenomai-3
Branch: wip/dovetail
Commit: 5abccffbb372c9572a0a92fada734529e9de19d9
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5abccffbb372c9572a0a92fada734529e9de19d9

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Feb 28 15:41:38 2016 +0100

testsuite/smokey: cpu-affinity: silence unused_result warning

---

 testsuite/smokey/cpu-affinity/cpu-affinity.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/testsuite/smokey/cpu-affinity/cpu-affinity.c 
b/testsuite/smokey/cpu-affinity/cpu-affinity.c
index 2674f76..4a59ff6 100644
--- a/testsuite/smokey/cpu-affinity/cpu-affinity.c
+++ b/testsuite/smokey/cpu-affinity/cpu-affinity.c
@@ -88,8 +88,11 @@ static int load_test_module(void)
 
 static void unload_test_module(int fd)
 {
+       int status;
+       
        close(fd);
-       system("rmmod xeno_rtdmtest");
+       status = system("rmmod xeno_rtdmtest");
+       (void)status;
 }
 
 static void *__run_cpu_affinity(void *arg)


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to