[mythtv-commits] Ticket #5430: pthread_join does not need a var to store return value in mythfrontend/main.cpp

MythTV mythtv at cvs.mythtv.org
Wed Jun 11 22:25:32 UTC 2008


#5430: pthread_join does not need a var to store return value in
mythfrontend/main.cpp
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr    
     Type:  defect                           |      Status:  new    
 Priority:  trivial                          |   Milestone:  unknown
Component:  mythtv                           |     Version:  head   
 Severity:  low                              |     Mlocked:  0      
---------------------------------------------+------------------------------
 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.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5430>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list