diff options
Diffstat (limited to 'src/regex/test_regex.c')
-rw-r--r-- | src/regex/test_regex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex/test_regex.c b/src/regex/test_regex.c index 4c08c7c53..65c9e6c17 100644 --- a/src/regex/test_regex.c +++ b/src/regex/test_regex.c | |||
@@ -75,6 +75,8 @@ test_random (unsigned int rx_length, unsigned int max_str_len, unsigned int str_ | |||
75 | 75 | ||
76 | rand_rxp = rand_rx; | 76 | rand_rxp = rand_rx; |
77 | matching_strp = matching_str[0]; | 77 | matching_strp = matching_str[0]; |
78 | current_char = 0; | ||
79 | last_was_op = 1; | ||
78 | 80 | ||
79 | // Generate random regex and a string that matches the regex | 81 | // Generate random regex and a string that matches the regex |
80 | for (i=0; i<rx_length; i++) | 82 | for (i=0; i<rx_length; i++) |