initialize variable

This commit is contained in:
Konstantinos Margaritis 2024-01-17 17:16:02 +02:00
parent 5e1972efce
commit 6b9068db0f

View File

@ -620,7 +620,7 @@ bytecode_ptr<NFA> mcclellanCompile16(dfa_info &info, const CompileContext &cc,
u8 alphaShift = info.getAlphaShift();
assert(alphaShift <= 8);
u16 count_real_states;
u16 count_real_states{0};
u16 wide_limit;
if (!allocateFSN16(info, &count_real_states, &wide_limit)) {
DEBUG_PRINTF("failed to allocate state numbers, %zu states total\n",