Opened 16 years ago
Closed 16 years ago
#5430 closed defect (fixed)
pthread_join does not need a var to store return value in mythfrontend/main.cpp
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
pthread_join can be given a pointer to a variable to store the return value of the function that the thread is running. But in main.cpp, the function that is running doesn't return anything. So giving pthread_join a pointer to use means that it is unused. Save the (albeit little) space and don't give pthread_join a pointer.
Attachments (1)
Change History (2)
Changed 16 years ago by
Note: See
TracTickets for help on using
tickets.
removes pointer given to pthread_join