Modify ↓
Ticket #5675 (closed defect: fixed)
Opened 4 years ago
Last modified 4 years ago
buttontemplate in MythUIButtonList::Init is always set, no checking required
| Reported by: | Erik Hovland <erik@…> | Owned by: | stuartm |
|---|---|---|---|
| Priority: | trivial | Milestone: | 0.22 |
| Component: | mythtv | Version: | head |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
thanks to the magic of previous checks buttontemplate has to be valid. So the checks in Init() are not necessary (and are in fact unexecutable code).
Attachments
Change History
Changed 4 years ago by Erik Hovland <erik@…>
- Attachment libs_libmythui-deadcode.patch added
comment:1 Changed 4 years ago by stuartm
- Owner changed from ijr to stuartm
- Status changed from new to assigned
- Milestone changed from unknown to 0.22
comment:2 Changed 4 years ago by Erik Hovland <erik@…>
Changed 4 years ago by Erik Hovland <erik@…>
- Attachment libs_libmythui-deadcode.2.patch added
modified after ticket #5502 patch was properly changed
comment:3 Changed 4 years ago by stuartm
- Status changed from assigned to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.

Removes unexecutable code