If a value is uninitialized and then used then it is a defect. This could be
From: Erik Hovland <erik@hovland.org>
true for very strange conditions. But true none-the-less.
---
programs/mythfrontend/main.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/mythfrontend/main.cpp b/programs/mythfrontend/main.cpp
index 782ab4a..37c19d9 100644
a
|
b
|
int main(int argc, char **argv) |
1531 | 1531 | |
1532 | 1532 | if (priv_thread_created) |
1533 | 1533 | { |
1534 | | void *value; |
1535 | 1534 | gContext->addPrivRequest(MythPrivRequest::MythExit, NULL); |
1536 | | pthread_join(priv_thread, &value); |
| 1535 | pthread_join(priv_thread, 0); |
1537 | 1536 | } |
1538 | 1537 | |
1539 | 1538 | signal(SIGHUP, SIG_DFL); |