We can give a value pointer to pthread_join. But we don't do anything
From: Erik Hovland <erik@hovland.org>
with it. So we might as well make it null and save some space.
---
programs/mythtv/main.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/mythtv/main.cpp b/programs/mythtv/main.cpp
index 24b8ce4..1348e33 100644
a
|
b
|
int main(int argc, char *argv[]) |
298 | 298 | |
299 | 299 | if (priv_thread_created) |
300 | 300 | { |
301 | | void *value; |
302 | 301 | gContext->addPrivRequest(MythPrivRequest::MythExit, NULL); |
303 | | pthread_join(priv_thread, &value); |
| 302 | pthread_join(priv_thread, NULL); |
304 | 303 | } |
305 | 304 | delete gContext; |
306 | 305 | |