rts: fix unused parameter warning
authorAustin Seipp <austin@well-typed.com>
Fri, 17 Oct 2014 16:58:07 +0000 (11:58 -0500)
committerAustin Seipp <austin@well-typed.com>
Fri, 17 Oct 2014 16:58:07 +0000 (11:58 -0500)
commit1c35f9f1cb7a293da85d649904ce731a65824cfe
treecea645b04ac626aa1c8b362cc80e89fc4018f97c
parent0e2bd03b0dc21b16f3b53bbec47bbfd4aaad0756
rts: fix unused parameter warning

Summary:
If `pthread_setname_np` is not available, then a regular
./validate will fail due to warnings; the `name` parameter to
`createOSThread` becomes unused.

Signed-off-by: Austin Seipp <austin@well-typed.com>
Test Plan: iiam

Reviewers: simonmar, nomeata, jstolarek, hvr

Reviewed By: nomeata, jstolarek, hvr

Subscribers: nomeata, thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D344
rts/posix/OSThreads.c