aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian C <cc@localhost>2025-03-06 16:23:42 -0800
committerChristian C <cc@localhost>2025-03-06 16:23:42 -0800
commitdcf04be444804663c383dadf9df9629399471af7 (patch)
tree93994a4a87e97eb420e1569dd3b21677177a30f7
parent92677800f422723a819884177632dd67bc9a2314 (diff)
Condition partially unused tree
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 5e782ee..44255dc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -158,19 +158,19 @@ int main(int argc, char** argv)
printf("%u remaining labels found\n", starting_label-1);
printf("Mask dimensions: %u %u\n", width, height);
}
+#ifdef AVL_INFO
//-----------------------------------------------
//-OPTIONAL:-------------------------------------
//-GET-MASK-META-INFORMATION---------------------
//-----------------------------------------------
root = get_mask_data(masks, width, height);
-#ifdef AVL_INFO
if (!silent) {
printf("Inorder traversal of AVL tree: ");
print_label(root);
printf("\n");
}
-#endif
free_avl_tree_nodes(root);
+#endif
TIME(ts_start);
//-----------------------------------------------