mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-26 00:08:30 -04:00
initilize things to quiet coverity
This commit is contained in:
1 parent
23a2f1e609
commit
568b15a916
1 file changed
+3
@@ -49,7 +49,10 @@ RegExpr::RegExpr( const char *pattern, int flags, int p_max_matches ) : max_matc
|
||||
memset( match_lengths, 0, sizeof(*match_lengths)*max_matches );
|
||||
match_valid = new bool[max_matches];
|
||||
memset( match_valid, 0, sizeof(*match_valid)*max_matches );
|
||||
} else {
|
||||
match_vectors = NULL;
|
||||
}
|
||||
match_string = "";
|
||||
n_matches = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user