[rtems commit] psxtests/psxclockrealtime01: Fix warnings

Sebastian Huber sebh at rtems.org
Thu Oct 26 11:58:28 UTC 2017


Module:    rtems
Branch:    master
Commit:    b31ccb5563419844c4ebccbc5920988a06f95ade
Changeset: http://git.rtems.org/rtems/commit/?id=b31ccb5563419844c4ebccbc5920988a06f95ade

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Oct 26 13:08:27 2017 +0200

psxtests/psxclockrealtime01: Fix warnings

Update #3182.

---

 testsuites/psxtests/psxclockrealtime01/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuites/psxtests/psxclockrealtime01/init.c b/testsuites/psxtests/psxclockrealtime01/init.c
index 2899678..f3ad3ac 100644
--- a/testsuites/psxtests/psxclockrealtime01/init.c
+++ b/testsuites/psxtests/psxclockrealtime01/init.c
@@ -278,6 +278,8 @@ static void *worker(void *arg)
         expected_eno = -1;
         break;
       default:
+        to = NULL;
+        expected_eno = -1;
         rtems_test_assert(0);
         break;
     }




More information about the vc mailing list