diff --git a/cv7/program.c b/cv7/program.c index 7d216e0..44d7cff 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -96,14 +96,6 @@ int main() { printf("Expert z bufetu to vie.\n"); - // Check if the input is empty after loading the tree - char buffer[SIZE]; - if (fgets(buffer, SIZE, stdin) == NULL || buffer[0] == '\n') { - printf("Chybna databaza\n"); - destroy_tree(root); - return 0; - } - int count = 0; count_items(root, &count); printf("Pozna %d druhov ovocia a zeleniny.\n", count);