Opened 16 years ago
Closed 16 years ago
#5691 closed defect (fixed)
Uninitialized variables and member variables in mythbackend
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
AutoExpire? and ProcessRequestThread? have ctors that need initializing.
SchedPreserveLiveTV uses a static member function of ProgramInfo? but uses a pointer variable to access it. It would be more readable if it used the class scoping instead.
Attachments (1)
Change History (2)
Changed 16 years ago by
Attachment: | programs_mythbackend-uninit.patch added |
---|
comment:1 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [18299]) Xtor and method call tidy up. Patch from Erik Hovland. Closes #5691. Note that I didn't apply the AutoExpire? xtor change, because update_thread is only used internally in AutoExpire::Update(), and expire_thread is only accessed if expire_thread_running is true, which happens in the other xtor.
Note: See
TracTickets for help on using
tickets.
init meber vars in ctors and use class scoping