initilize things to quiet coverity
This commit is contained in:
parent
23a2f1e609
commit
568b15a916
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue