aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/service/servicedvbrecord.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/service/servicedvbrecord.h b/lib/service/servicedvbrecord.h
index 6a58fc84..5f36991f 100644
--- a/lib/service/servicedvbrecord.h
+++ b/lib/service/servicedvbrecord.h
@@ -19,7 +19,7 @@ public:
RESULT prepare(const char *filename, time_t begTime, time_t endTime, int eit_event_id);
RESULT start();
RESULT stop();
- RESULT getError(int &error) { error = m_error; m_error = 0; return 0; }
+ RESULT getError(int &error) { error = m_error; return 0; }
private:
enum { stateIdle, statePrepared, stateRecording };
int m_state, m_want_record;