diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-09-15 17:04:21 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-09-15 17:04:21 +0200 |
commit | 4edf3bf7e6024459dcd807c51ae5d7c81c3a646d (patch) | |
tree | 713d29a46a15f55979260fa980e55af7e9680a8d /dependencies/uthash/tests/test77.c | |
parent | 2a5e5a020b14229e312294a345d3f079002f24e8 (diff) | |
parent | 1fa53c5bf8d0717f784c79abaa5111f88ab00221 (diff) |
Merge commit '1fa53c5bf8d0717f784c79abaa5111f88ab00221'
Diffstat (limited to 'dependencies/uthash/tests/test77.c')
-rw-r--r-- | dependencies/uthash/tests/test77.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dependencies/uthash/tests/test77.c b/dependencies/uthash/tests/test77.c index 7ff97518e..dc55cb244 100644 --- a/dependencies/uthash/tests/test77.c +++ b/dependencies/uthash/tests/test77.c @@ -9,7 +9,7 @@ int main() long *V_KMP_Table;
long V_FindPos;
size_t V_StartPos;
- size_t V_FindCnt;
+ size_t V_FindCnt = 0;
utstring_new(s);
@@ -24,8 +24,6 @@ int main() if (V_KMP_Table != NULL) {
_utstring_BuildTableR(utstring_body(t), utstring_len(t), V_KMP_Table);
- V_FindCnt = 0;
- V_FindPos = 0;
V_StartPos = utstring_len(s) - 1;
do {
V_FindPos = _utstring_findR(utstring_body(s),
|