Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Patch for detected dead assignment in hdhrstreamhandler.cpp
Static analysis (scan-build) detected a dead assignment to
the variable buffersize.  The usage of this variable was
deleted in commit db8f60e (ticket #6881).  There was a
modification of the initialize size in commit 2be3dd9
(ticket #10414), but since the buffersize is not actually
used, the part of the commit to set the size was not
relevant.  This patch deletes the unused variable.

Fixes #11563
  • Loading branch information
garybuhrmaster authored and dekarl committed Jun 15, 2013
1 parent 6c84654 commit 7cf508b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp
Expand Up @@ -121,11 +121,6 @@ void HDHRStreamHandler::run(void)

SetRunning(true, false, false);

/* Calculate buffer size */
uint buffersize = 40000 * TSPacket::kSize;
buffersize /= VIDEO_DATA_PACKET_SIZE;
buffersize *= VIDEO_DATA_PACKET_SIZE;

LOG(VB_RECORD, LOG_INFO, LOC + "RunTS(): begin");

int remainder = 0;
Expand Down

0 comments on commit 7cf508b

Please sign in to comment.