Skip to content

Commit f103e4e

Browse files
airweentheseion
andauthored
Move function into a bracket separated block
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
1 parent 66c338e commit f103e4e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/utils/acmp.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,9 @@ if (parser->is_active != 0) return -1;
389389
child->depth = i;
390390
child->text = (char *)calloc(1, i + 2);
391391
/* ENH: Check alloc succeded */
392-
for (j = 0; j <= i; j++) child->text[j] = pattern[j];
392+
for (j = 0; j <= i; j++) {
393+
child->text[j] = pattern[j];
394+
}
393395
}
394396
if (i == length - 1) {
395397
if (child->is_last == 0) {

0 commit comments

Comments
 (0)