Fix score variable

This commit is contained in:
SteveGilvarry 2016-04-07 00:24:38 +10:00
parent 20c295ad0c
commit 25abe2aafd
1 changed files with 1 additions and 1 deletions

View File

@ -3551,7 +3551,7 @@ unsigned int Monitor::DetectBlack(const Image &comp_image, Event::StringSet &zon
unsigned int Monitor::DetectMotion( const Image &comp_image, Event::StringSet &zoneSet, unsigned int &score )
{
bool alarm = false;
unsigned int score = 0;
score = 0;
if ( n_zones <= 0 ) return( alarm );