initialize variable

This commit is contained in:
Konstantinos Margaritis
2024-01-17 17:16:02 +02:00
parent f3b9af09c9
commit 8aebaa742f

View File

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