From eed9f2bac3090f7a6aab5ad5a6322285470ac14f Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sun, 16 Aug 2020 15:23:05 -0700 Subject: [PATCH] Chess: Uninitialized member in PromotionalDialog, found by Coverity --- Games/Chess/PromotionDialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Games/Chess/PromotionDialog.cpp b/Games/Chess/PromotionDialog.cpp index b9416f6ed2..a3b090c2f5 100644 --- a/Games/Chess/PromotionDialog.cpp +++ b/Games/Chess/PromotionDialog.cpp @@ -31,6 +31,7 @@ PromotionDialog::PromotionDialog(ChessWidget& chess_widget) : Dialog(chess_widget.window()) + , m_selected_piece(Chess::Type::None) { set_title("Choose piece to promote to"); resize(70 * 4, 70);