From 85fd353829afee68a4829acbc48dd778e0dc2e92 Mon Sep 17 00:00:00 2001 From: Eric House Date: Thu, 26 Dec 2019 09:13:59 -0800 Subject: [PATCH] initialize variable flagged by valgrind --- 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 7b732e54d..7010dfd1b 100644 --- a/xwords4/common/boarddrw.c +++ b/xwords4/common/boarddrw.c @@ -373,7 +373,7 @@ drawCell( BoardCtxt* board, const XP_U16 col, const XP_U16 row, XP_Bool skipBlan XP_Bool success = XP_TRUE; XP_Rect cellRect = {0}; Tile tile; - XP_Bool isBlank, isEmpty, recent, pending = XP_FALSE; + XP_Bool isBlank, isEmpty, recent = XP_FALSE, pending = XP_FALSE; XWBonusType bonus; ModelCtxt* model = board->model; DictionaryCtxt* dict = model_getDictionary( model );