Opened 12 years ago

Closed 11 years ago

#4849 closed defect (fixed)

chanInfo assignment is useless

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: trivial Milestone: 0.22
Component: mythtv Version: 0.21-fixes
Severity: low Keywords:
Cc: Ticket locked: no

Description

In ChannelRecPriority::SortList? there is an assignment:

        chanInfo = &(pit.data());

But it is never used. So it is likely that the call is something that came in from another piece of code (another member function does roughly the same loop and does make use of chanInfo).

Attachments (1)

programs_mythfrontend_channelrecpriority.cpp-remove-unused-chanInfo-assignment.patch (930 bytes) - added by Erik Hovland <erik@…> 12 years ago.
removes useless chanInfo assignment

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by Erik Hovland <erik@…>

removes useless chanInfo assignment

comment:1 Changed 12 years ago by Isaac Richards

Milestone: 0.210.22

comment:2 Changed 11 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17533]) Fixes #4849. Fixes copy-n-paste error that generates a little unneeded code.

Note: See TracTickets for help on using tickets.