fix: confusing indentation at acmp.cc

This commit is contained in:
Burkov Egor 2025-07-28 14:23:11 +03:00 committed by GitHub
parent 08b70e006b
commit 5d05ba359c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -236,10 +236,10 @@ static void acmp_build_binary_tree(ACMP *parser, acmp_node_t *node) {
nodes[i] = nodes[j];
nodes[j] = tmp;
}
if (node->btree != NULL) {
free(node->btree);
node->btree = NULL;
}
if (node->btree != NULL) {
free(node->btree);
node->btree = NULL;
}
node->btree = reinterpret_cast<acmp_btree_node_t *>(calloc(1, sizeof(acmp_btree_node_t)));
/* ENH: Check alloc succeded */