Opened 18 years ago

Closed 17 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@…> 18 years ago.
removes useless chanInfo assignment

Download all attachments as: .zip

Change History (3)

by Erik Hovland <erik@…>, 18 years ago

removes useless chanInfo assignment

comment:1 by Isaac Richards, 18 years ago

Milestone: 0.210.22

comment:2 by danielk, 17 years ago

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.