remove unused last_section_mod
This commit is contained in:
parent
b1353823cf
commit
a59e33d8b0
|
@ -375,7 +375,6 @@ Monitor::Monitor()
|
||||||
first_alarm_count(0),
|
first_alarm_count(0),
|
||||||
last_alarm_count(0),
|
last_alarm_count(0),
|
||||||
last_signal(false),
|
last_signal(false),
|
||||||
last_section_mod(0),
|
|
||||||
buffer_count(0),
|
buffer_count(0),
|
||||||
state(IDLE),
|
state(IDLE),
|
||||||
last_motion_score(0),
|
last_motion_score(0),
|
||||||
|
@ -426,7 +425,6 @@ Monitor::Monitor()
|
||||||
event_close_mode = CLOSE_IDLE;
|
event_close_mode = CLOSE_IDLE;
|
||||||
|
|
||||||
event = nullptr;
|
event = nullptr;
|
||||||
last_section_mod = 0;
|
|
||||||
|
|
||||||
adaptive_skip = true;
|
adaptive_skip = true;
|
||||||
|
|
||||||
|
@ -1774,7 +1772,6 @@ bool Monitor::Analyse() {
|
||||||
event->addNote(SIGNAL_CAUSE, "Lost");
|
event->addNote(SIGNAL_CAUSE, "Lost");
|
||||||
Info("%s: %03d - Closing event %" PRIu64 ", signal loss", name.c_str(), analysis_image_count, event->Id());
|
Info("%s: %03d - Closing event %" PRIu64 ", signal loss", name.c_str(), analysis_image_count, event->Id());
|
||||||
closeEvent();
|
closeEvent();
|
||||||
last_section_mod = 0;
|
|
||||||
}
|
}
|
||||||
} else if (function == MOCORD or function == RECORD) {
|
} else if (function == MOCORD or function == RECORD) {
|
||||||
if (!event) {
|
if (!event) {
|
||||||
|
|
|
@ -351,7 +351,6 @@ protected:
|
||||||
int first_alarm_count;
|
int first_alarm_count;
|
||||||
int last_alarm_count;
|
int last_alarm_count;
|
||||||
bool last_signal;
|
bool last_signal;
|
||||||
int last_section_mod;
|
|
||||||
int buffer_count;
|
int buffer_count;
|
||||||
State state;
|
State state;
|
||||||
SystemTimePoint start_time;
|
SystemTimePoint start_time;
|
||||||
|
|
Loading…
Reference in New Issue