Remove unused field
This commit is contained in:
parent
9c1e82a7ea
commit
78f28b14ce
2 changed files with 1 additions and 2 deletions
|
|
@ -35,7 +35,6 @@ struct Subtree {
|
|||
uint32_t error_cost;
|
||||
uint32_t node_count;
|
||||
uint32_t repeat_depth;
|
||||
uint32_t child_count;
|
||||
int32_t dynamic_precedence;
|
||||
|
||||
bool visible : 1;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include "runtime/length.h"
|
||||
|
||||
void assert_consistent(const Subtree *tree) {
|
||||
if (tree->child_count == 0) return;
|
||||
if (tree->children.size == 0) return;
|
||||
AssertThat(tree->children.contents[0]->padding, Equals<Length>(tree->padding));
|
||||
|
||||
Length total_children_size = length_zero();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue