remove debug

pull/2993/head
Isaac Connor 2020-07-23 17:15:43 -04:00
parent cceb010048
commit ee4d90d906
1 changed files with 0 additions and 3 deletions

View File

@ -157,7 +157,6 @@ class Event {
static void EmptyPreAlarmFrames() {
while ( pre_alarm_count > 0 ) {
int i = pre_alarm_count - 1;
Debug(1, "EmptyreAlarmFrame: %d", i);
delete pre_alarm_data[i].image;
pre_alarm_data[i].image = NULL;
if ( pre_alarm_data[i].alarm_frame ) {
@ -176,10 +175,8 @@ Debug(1, "EmptyreAlarmFrame: %d", i);
pre_alarm_data[pre_alarm_count].alarm_frame = new Image(*alarm_frame);
}
pre_alarm_count++;
Debug(1, "PreAlarmFrame icount now at: %d", pre_alarm_count);
}
void SavePreAlarmFrames() {
Debug(1, "SavePreAlarmFrame: %d", pre_alarm_count);
for ( int i = 0; i < pre_alarm_count; i++ ) {
AddFrame(
pre_alarm_data[i].image,