Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't set unused field in rt/tst-timer2.
  • Loading branch information
Roland McGrath committed Feb 6, 2015
1 parent 9e7265f commit f50ad78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions 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.
Expand Down
3 changes: 1 addition & 2 deletions rt/tst-timer2.c
Expand Up @@ -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++)
Expand Down

0 comments on commit f50ad78

Please sign in to comment.