Skip to content

Commit

Permalink
Fix variable declaration shadows a parameter warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Mar 13, 2019
1 parent 0a8c8c2 commit cfe8c97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mythtv/libs/libmythtv/recordingquality.cpp
Expand Up @@ -44,9 +44,9 @@ RecordingQuality::RecordingQuality(
while (!m_recording_gaps.empty() &&
m_recording_gaps.first().GetStart() < start)
{
RecordingGap &first = m_recording_gaps.first();
if (start < first.GetEnd())
first = RecordingGap(start, first.GetEnd());
RecordingGap &firstGap = m_recording_gaps.first();
if (start < firstGap.GetEnd())
firstGap = RecordingGap(start, firstGap.GetEnd());
else
m_recording_gaps.pop_front();
}
Expand Down

0 comments on commit cfe8c97

Please sign in to comment.