aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/service/servicedvbrecord.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/service/servicedvbrecord.cpp b/lib/service/servicedvbrecord.cpp
index d9cdb516..419c26ba 100644
--- a/lib/service/servicedvbrecord.cpp
+++ b/lib/service/servicedvbrecord.cpp
@@ -493,8 +493,7 @@ void eDVBServiceRecord::gotNewEvent()
eDebug("getting PCR failed!");
else
{
- static int i;
- m_event_timestamps[/* event_id*/ ++i] = p;
+ m_event_timestamps[event_id] = p;
eDebug("pcr of eit change: %llx", p);
}
}