From 1b041ecccfbe44a4f50ffc086e3996e2b6eea4f7 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 8 Feb 2024 22:35:09 +0100 Subject: C++11: Use default member initializers This patch is not exhaustive. --- src/gui/selldialog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/selldialog.h') diff --git a/src/gui/selldialog.h b/src/gui/selldialog.h index 7e37d860..d59343cb 100644 --- a/src/gui/selldialog.h +++ b/src/gui/selldialog.h @@ -108,10 +108,10 @@ class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener gcn::Slider *mSlider; ShopItems *mShopItems; - int mPlayerMoney; + int mPlayerMoney = 0; - int mMaxItems; - int mAmountItems; + int mMaxItems = 0; + int mAmountItems = 0; }; #endif -- cgit v1.2.3-70-g09d2