From fb2793d337fa7b128c605d31d389ad095f2f5321 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 15 Dec 2020 18:25:17 -0500 Subject: [PATCH] use nullptr instead of 0 when init'ing event --- src/zm_monitor.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index 51b8ba12a..fff2a096e 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -365,12 +365,12 @@ Monitor::Monitor( embed_exif( p_embed_exif ), delta_image( width, height, ZM_COLOUR_GRAY8, ZM_SUBPIX_ORDER_NONE ), ref_image( width, height, p_camera->Colours(), p_camera->SubpixelOrder() ), - purpose( p_purpose ), + purpose(p_purpose), last_motion_score(0), - camera( p_camera ), - event(0), - n_zones( p_n_zones ), - zones( p_zones ), + camera(p_camera), + event(nullptr), + n_zones(p_n_zones), + zones(p_zones), timestamps( nullptr ), images( nullptr ), privacy_bitmask( nullptr ),