Skip to content

Commit

Permalink
Remove unused private field freeDiskSpaceKB
Browse files Browse the repository at this point in the history
Static analysis identified an unused private
field freeDiskSpaceKB in the EncoderLink class.
The usage was remove in commit a4796b5
'Storage Groups (a novel by Chris Pinkham)',
but the variable remained.  Remove it from
the class and ctors
  • Loading branch information
garybuhrmaster committed Aug 31, 2013
1 parent 78468f4 commit cab5a1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythbackend/encoderlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ using namespace std;
EncoderLink::EncoderLink(int capturecardnum, PlaybackSock *lsock,
QString lhostname)
: m_capturecardnum(capturecardnum), sock(lsock), hostname(lhostname),
freeDiskSpaceKB(-1), tv(NULL), local(false), locked(false),
tv(NULL), local(false), locked(false),
sleepStatus(sStatus_Undefined), chanid(0)
{
endRecordingTime = MythDate::current().addDays(-2);
Expand All @@ -59,7 +59,7 @@ EncoderLink::EncoderLink(int capturecardnum, PlaybackSock *lsock,
*/
EncoderLink::EncoderLink(int capturecardnum, TVRec *ltv)
: m_capturecardnum(capturecardnum), sock(NULL),
freeDiskSpaceKB(-1), tv(ltv), local(true), locked(false),
tv(ltv), local(true), locked(false),
sleepStatus(sStatus_Undefined), chanid(0)
{
endRecordingTime = MythDate::current().addDays(-2);
Expand Down
2 changes: 0 additions & 2 deletions mythtv/programs/mythbackend/encoderlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ class EncoderLink
PlaybackSock *sock;
QString hostname;

long long freeDiskSpaceKB;

TVRec *tv;

bool local;
Expand Down

0 comments on commit cab5a1f

Please sign in to comment.