remove unused last_section_mod

This commit is contained in:
Isaac Connor 2022-01-03 19:14:27 -05:00
parent b1353823cf
commit a59e33d8b0
2 changed files with 0 additions and 4 deletions

View File

@ -375,7 +375,6 @@ Monitor::Monitor()
first_alarm_count(0),
last_alarm_count(0),
last_signal(false),
last_section_mod(0),
buffer_count(0),
state(IDLE),
last_motion_score(0),
@ -426,7 +425,6 @@ Monitor::Monitor()
event_close_mode = CLOSE_IDLE;
event = nullptr;
last_section_mod = 0;
adaptive_skip = true;
@ -1774,7 +1772,6 @@ bool Monitor::Analyse() {
event->addNote(SIGNAL_CAUSE, "Lost");
Info("%s: %03d - Closing event %" PRIu64 ", signal loss", name.c_str(), analysis_image_count, event->Id());
closeEvent();
last_section_mod = 0;
}
} else if (function == MOCORD or function == RECORD) {
if (!event) {

View File

@ -351,7 +351,6 @@ protected:
int first_alarm_count;
int last_alarm_count;
bool last_signal;
int last_section_mod;
int buffer_count;
State state;
SystemTimePoint start_time;