Currently in master:
$ make distclean
$ ./configure --disable-wallet
$ make >> /dev/null
...
qt/rpcconsole.cpp: In member function ‘void RPCConsole::on_lineEdit_returnPressed()’:
qt/rpcconsole.cpp:907:22: warning: unused variable ‘wallet_model’ [-Wunused-variable]
WalletModel* wallet_model{nullptr};
^~~~~~~~~~~~
This refactoring PR does not change the behavior of code.
cc @promag