]> sourceware.org Git - glibc.git/commitdiff
Don't set unused field in rt/tst-timer2.
authorRoland McGrath <roland@hack.frob.com>
Fri, 6 Feb 2015 20:30:38 +0000 (12:30 -0800)
committerRoland McGrath <roland@hack.frob.com>
Fri, 6 Feb 2015 20:30:38 +0000 (12:30 -0800)
ChangeLog
rt/tst-timer2.c

index f8541af7df16649a5b73816de02f034c91667db6..5b694e41339b477e25aca83b9baba1dcca0640de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-02-06  Roland McGrath  <roland@hack.frob.com>
 
+       * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
+       will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
+
        * nptl/tst-align2.c: Moved ...
        * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
        * nptl/Makefile (tests): Remove tst-align2.
index 60026c1efd0624385cf5b894882ffc019c6144c4..b2ce9879ec6e6c4ccffcf5c033c487db77b47881 100644 (file)
@@ -30,9 +30,8 @@ do_test (void)
   itval.it_value.tv_nsec = 0;
 
   sigev.sigev_notify = SIGEV_THREAD;
-  sigev.sigev_signo = SIGRTMIN;
   sigev.sigev_notify_function = thread;
-  sigev.sigev_notify_attributes = 0;
+  sigev.sigev_notify_attributes = NULL;
   sigev.sigev_value.sival_ptr = (void *) &timerId;
 
   for (i = 0; i < 100; i++)
This page took 0.110192 seconds and 5 git commands to generate.