Remove unused field

This commit is contained in:
Max Brunsfeld 2018-05-18 14:27:52 -07:00
parent 9c1e82a7ea
commit 78f28b14ce
2 changed files with 1 additions and 2 deletions

View file

@ -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;

View file

@ -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();