Skip to content

Commit 1e7813e

Browse files
Remove redundant initializations from the constructor
1 parent f131872 commit 1e7813e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/qt/addresstablemodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class AddressTablePriv
159159
};
160160

161161
AddressTableModel::AddressTableModel(WalletModel *parent) :
162-
QAbstractTableModel(parent),walletModel(parent),priv(0)
162+
QAbstractTableModel(parent), walletModel(parent)
163163
{
164164
columns << tr("Label") << tr("Address");
165165
priv = new AddressTablePriv(this);

src/qt/rpcconsole.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,7 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
455455
QWidget(parent),
456456
m_node(node),
457457
ui(new Ui::RPCConsole),
458-
clientModel(0),
459-
historyPtr(0),
460-
platformStyle(_platformStyle),
461-
peersTableContextMenu(0),
462-
banTableContextMenu(0),
463-
consoleFontSize(0)
458+
platformStyle(_platformStyle)
464459
{
465460
ui->setupUi(this);
466461
QSettings settings;

0 commit comments

Comments
 (0)