mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
Chess: Uninitialized member in PromotionalDialog, found by Coverity
This commit is contained in:
parent
832b3256d3
commit
eed9f2bac3
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
PromotionDialog::PromotionDialog(ChessWidget& chess_widget)
|
PromotionDialog::PromotionDialog(ChessWidget& chess_widget)
|
||||||
: Dialog(chess_widget.window())
|
: Dialog(chess_widget.window())
|
||||||
|
, m_selected_piece(Chess::Type::None)
|
||||||
{
|
{
|
||||||
set_title("Choose piece to promote to");
|
set_title("Choose piece to promote to");
|
||||||
resize(70 * 4, 70);
|
resize(70 * 4, 70);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue