From d3ea4b33f19a7950f3cb42a85f8d800e6b04c6f1 Mon Sep 17 00:00:00 2001 From: Rene Kita Date: Sat, 4 Sep 2021 12:22:46 +0200 Subject: [PATCH] Initialize struct before use --- table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.c b/table.c index 0a43156..9d99bb3 100644 --- a/table.c +++ b/table.c @@ -1524,7 +1524,7 @@ check_table_height(struct table *t) short maxcell; short size; int *height; - } cell; + } cell = {0}; int space = 0; cell.size = 0;