From 382718bcb0822ad622b589ee1f3706a9c5152934 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 13 Jun 2018 14:34:31 +0300 Subject: [PATCH] init variable This might have made valgrind happier, though it's been a while. Can't hurt. --- xwords4/common/boarddrw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/common/boarddrw.c b/xwords4/common/boarddrw.c index 386b77841..f8f5bb495 100644 --- a/xwords4/common/boarddrw.c +++ b/xwords4/common/boarddrw.c @@ -371,7 +371,7 @@ static XP_Bool drawCell( BoardCtxt* board, const XP_U16 col, const XP_U16 row, XP_Bool skipBlanks ) { XP_Bool success = XP_TRUE; - XP_Rect cellRect; + XP_Rect cellRect = {0}; Tile tile; XP_Bool isBlank, isEmpty, recent, pending = XP_FALSE; XWBonusType bonus;