mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
40c259bdf3
* fix: compilation warnings ./validation.h:266:13: warning: ‘bool AcceptToMemoryPoolWithTime(const CChainParams&, CTxMemPool&, CValidationState&, const CTransactionRef&, bool*, int64_t, bool, CAmount, bool)’ declared ‘static’ but never defined [-Wunused-function] static bool AcceptToMemoryPoolWithTime(const CChainParams& chainparams, CTxMemPool& pool, CValidationState &state, const CTransactionRef &tx, ^~~~~~~~~~~~~~~~~~~~~~~~~~ * fix: compilation warnings ./coinjoin/client.h: In constructor ‘CCoinJoinClientManager::CCoinJoinClientManager(CWallet&)’: ./coinjoin/client.h:199:10: warning: ‘CCoinJoinClientManager::fCreateAutoBackups’ will be initialized after [-Wreorder] bool fCreateAutoBackups; // builtin support for automatic backups ^~~~~~~~~~~~~~~~~~ ./coinjoin/client.h:187:14: warning: ‘CWallet& CCoinJoinClientManager::mixingWallet’ [-Wreorder] CWallet& mixingWallet; ^~~~~~~~~~~~ ./coinjoin/client.h:205:14: warning: when initialized here [-Wreorder] explicit CCoinJoinClientManager(CWallet& wallet) : ^~~~~~~~~~~~~~~~~~~~~~ * fix: compilation warnings interfaces/wallet.cpp: In constructor ‘interfaces::{anonymous}::WalletImpl::WalletImpl(const std::shared_ptr<CWallet>&)’: interfaces/wallet.cpp:594:30: warning: ‘interfaces::{anonymous}::WalletImpl::m_wallet’ will be initialized after [-Wreorder] std::shared_ptr<CWallet> m_wallet; ^~~~~~~~ interfaces/wallet.cpp:191:18: warning: ‘interfaces::{anonymous}::CoinJoinImpl interfaces::{anonymous}::WalletImpl::m_coinjoin’ [-Wreorder] CoinJoinImpl m_coinjoin; ^~~~~~~~~~ interfaces/wallet.cpp:193:14: warning: when initialized here [-Wreorder] explicit WalletImpl(const std::shared_ptr<CWallet>& wallet) : m_wallet(wallet), m_coinjoin(wallet) {} ^~~~~~~~~~ * fix: compilation warnings validation.cpp:165:13: warning: ‘void CheckBlockIndex(const Consensus::Params&)’ declared ‘static’ but never defined [-Wunused-function] static void CheckBlockIndex(const Consensus::Params& consensusParams); ^~~~~~~~~~~~~~~ * fix: compilation warnings bls/bls_worker.cpp: In constructor ‘ContributionVerifier::ContributionVerifier(CBLSId, const std::vector<std::shared_ptr<std::vector<CBLSPublicKey> > >&, const BLSSecretKeyVector&, size_t, bool, bool, ctpl::thread_pool&, std::function<void(const std::vector<bool>&)>)’: bls/bls_worker.cpp:425:51: warning: ‘ContributionVerifier::doneCallback’ will be initialized after [-Wreorder] std::function<void(const std::vector<bool>&)> doneCallback; ^~~~~~~~~~~~ bls/bls_worker.cpp:420:12: warning: ‘size_t ContributionVerifier::batchCount’ [-Wreorder] size_t batchCount; ^~~~~~~~~~ bls/bls_worker.cpp:427:5: warning: when initialized here [-Wreorder] ContributionVerifier(CBLSId _forId, const std::vector<BLSVerificationVectorPtr>& _vvecs, ^~~~~~~~~~~~~~~~~~~~ * fix: compilation warnings bls/bls_worker.cpp:342:10: warning: ‘VectorAggregator<CBLSPublicKey>::parallel’ will be initialized after [-Wreorder] bool parallel; ^~~~~~~~ bls/bls_worker.cpp:340:12: warning: ‘size_t VectorAggregator<CBLSPublicKey>::start’ [-Wreorder] size_t start; ^~~~~ bls/bls_worker.cpp:350:5: warning: when initialized here [-Wreorder] VectorAggregator(const VectorVectorType& _vecs, ^~~~~~~~~~~~~~~~ bls/bls_worker.cpp:343:24: warning: ‘VectorAggregator<CBLSPublicKey>::workerPool’ will be initialized after [-Wreorder] ctpl::thread_pool& workerPool; ^~~~~~~~~~ bls/bls_worker.cpp:337:18: warning: ‘VectorAggregator<CBLSPublicKey>::DoneCallback VectorAggregator<CBLSPublicKey>::doneCallback’ [-Wreorder] DoneCallback doneCallback; ^~~~~~~~~~~~ bls/bls_worker.cpp:350:5: warning: when initialized here [-Wreorder] VectorAggregator(const VectorVectorType& _vecs, ^~~~~~~~~~~~~~~~ * fix: compilation warnings bls/bls_worker.cpp:494:235: required from here bls/bls_worker.cpp:136:24: warning: ‘Aggregator<CBLSSecretKey>::workerPool’ will be initialized after [-Wreorder] ctpl::thread_pool& workerPool; ^~~~~~~~~~ bls/bls_worker.cpp:135:10: warning: ‘bool Aggregator<CBLSSecretKey>::parallel’ [-Wreorder] bool parallel; ^~~~~~~~ bls/bls_worker.cpp:152:5: warning: when initialized here [-Wreorder] Aggregator(const std::vector<TP>& _inputVec, ^~~~~~~~~~ * fix: compilation warnings bench/string_cast.cpp: In lambda function: bench/string_cast.cpp:22:13: warning: statement has no effect [-Wunused-value] atoi("1"); ~~~~^~~~~ * fix: compilation warnings ./llmq/dkgsessionhandler.h: In constructor ‘llmq::CDKGPendingMessages::CDKGPendingMessages(size_t, int)’: ./llmq/dkgsessionhandler.h:48:12: warning: ‘llmq::CDKGPendingMessages::maxMessagesPerNode’ will be initialized after [-Wreorder] size_t maxMessagesPerNode GUARDED_BY(cs); ^~~~~~~~~~~~~~~~~~ ./llmq/dkgsessionhandler.h:47:15: warning: ‘const int llmq::CDKGPendingMessages::invType’ [-Wreorder] const int invType; ^~~~~~~ llmq/dkgsessionhandler.cpp:23:1: warning: when initialized here [-Wreorder] CDKGPendingMessages::CDKGPendingMessages(size_t _maxMessagesPerNode, int _invType) : ^~~~~~~~~~~~~~~~~~~ * fix: compilation warnings Not sure this one is correct, but I believe so. Seems like the `!= 0` is completely not needed rpc/masternode.cpp: In function ‘UniValue masternode_payments(const JSONRPCRequest&)’: rpc/masternode.cpp:442:31: warning: suggest parentheses around comparison in operand of ‘!=’ [-Wparentheses] while (vecPayments.size() < std::abs(nCount) != 0 && pindex != nullptr) { ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ * fix: compilation warnings test/cachemultimap_tests.cpp:14:13: warning: ‘void cachemultimap_tests::DumpMap(const CacheMultiMap<int, int>&)’ defined but not used [-Wunused-function] static void DumpMap(const CacheMultiMap<int,int>& cmmap) ^~~~~~~ * fix: compilation warnings In file included from qt/appearancewidget.cpp:11: ./qt/appearancewidget.h: In constructor ‘AppearanceWidget::AppearanceWidget(QWidget*)’: ./qt/appearancewidget.h:52:25: warning: ‘AppearanceWidget::prevFontFamily’ will be initialized after [-Wreorder] GUIUtil::FontFamily prevFontFamily; ^~~~~~~~~~~~~~ ./qt/appearancewidget.h:51:9: warning: ‘int AppearanceWidget::prevScale’ [-Wreorder] int prevScale; ^~~~~~~~~ qt/appearancewidget.cpp:21:1: warning: when initialized here [-Wreorder] AppearanceWidget::AppearanceWidget(QWidget* parent) : ^~~~~~~~~~~~~~~~ * fix: compilation warnings In file included from qt/bitcoingui.cpp:6: ./qt/bitcoingui.h: In constructor ‘BitcoinGUI::BitcoinGUI(interfaces::Node&, const NetworkStyle*, QWidget*)’: ./qt/bitcoingui.h:212:31: warning: ‘BitcoinGUI::m_network_style’ will be initialized after [-Wreorder] const NetworkStyle* const m_network_style; ^~~~~~~~~~~~~~~ ./qt/bitcoingui.h:172:34: warning: ‘const std::unique_ptr<QMenu> BitcoinGUI::trayIconMenu’ [-Wreorder] const std::unique_ptr<QMenu> trayIconMenu; ^~~~~~~~~~~~ qt/bitcoingui.cpp:81:1: warning: when initialized here [-Wreorder] BitcoinGUI::BitcoinGUI(interfaces::Node& node, const NetworkStyle* networkStyle, QWidget* parent) : ^~~~~~~~~~ * fix: compilation warnings In file included from qt/masternodelist.cpp:1: ./qt/masternodelist.h: In constructor ‘MasternodeList::MasternodeList(QWidget*)’: ./qt/masternodelist.h:66:18: warning: ‘MasternodeList::walletModel’ will be initialized after [-Wreorder] WalletModel* walletModel; ^~~~~~~~~~~ ./qt/masternodelist.h:61:10: warning: ‘bool MasternodeList::fFilterUpdatedDIP3’ [-Wreorder] bool fFilterUpdatedDIP3; ^~~~~~~~~~~~~~~~~~ qt/masternodelist.cpp:45:1: warning: when initialized here [-Wreorder] MasternodeList::MasternodeList(QWidget* parent) : ^~~~~~~~~~~~~~ In file included from qt/masternodelist.cpp:1: ./qt/masternodelist.h:61:10: warning: ‘MasternodeList::fFilterUpdatedDIP3’ will be initialized after [-Wreorder] bool fFilterUpdatedDIP3; ^~~~~~~~~~~~~~~~~~ ./qt/masternodelist.h:59:13: warning: ‘int64_t MasternodeList::nTimeFilterUpdatedDIP3’ [-Wreorder] int64_t nTimeFilterUpdatedDIP3; ^~~~~~~~~~~~~~~~~~~~~~ qt/masternodelist.cpp:45:1: warning: when initialized here [-Wreorder] MasternodeList::MasternodeList(QWidget* parent) : ^~~~~~~~~~~~~~ * fix: compilation warnings In file included from qt/paymentserver.cpp:10: ./qt/paymentserver.h: In constructor ‘PaymentServer::PaymentServer(QObject*, bool)’: ./qt/paymentserver.h:156:28: warning: ‘PaymentServer::netManager’ will be initialized after [-Wreorder] QNetworkAccessManager* netManager; // Used to fetch payment requests ^~~~~~~~~~ ./qt/paymentserver.h:147:19: warning: ‘OptionsModel* PaymentServer::optionsModel’ [-Wreorder] OptionsModel *optionsModel; ^~~~~~~~~~~~ qt/paymentserver.cpp:197:1: warning: when initialized here [-Wreorder] PaymentServer::PaymentServer(QObject* parent, bool startLocalServer) : ^~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
bench | ||
bls | ||
coinjoin | ||
compat | ||
config | ||
consensus | ||
crc32c | ||
crypto | ||
evo | ||
governance | ||
index | ||
interfaces | ||
leveldb | ||
llmq | ||
logging | ||
masternode | ||
node | ||
policy | ||
primitives | ||
qt | ||
rpc | ||
script | ||
secp256k1 | ||
support | ||
test | ||
univalue | ||
util | ||
wallet | ||
zmq | ||
.clang-format | ||
addrdb.cpp | ||
addrdb.h | ||
addressindex.h | ||
addrman.cpp | ||
addrman.h | ||
amount.h | ||
arith_uint256.cpp | ||
arith_uint256.h | ||
attributes.h | ||
banman.cpp | ||
banman.h | ||
base58.cpp | ||
base58.h | ||
batchedlogger.cpp | ||
batchedlogger.h | ||
bech32.cpp | ||
bech32.h | ||
bip39_english.h | ||
bip39.cpp | ||
bip39.h | ||
blockencodings.cpp | ||
blockencodings.h | ||
blockfilter.cpp | ||
blockfilter.h | ||
bloom.cpp | ||
bloom.h | ||
cachemap.h | ||
cachemultimap.h | ||
chain.cpp | ||
chain.h | ||
chainparams.cpp | ||
chainparams.h | ||
chainparamsbase.cpp | ||
chainparamsbase.h | ||
chainparamsseeds.h | ||
checkqueue.h | ||
clientversion.cpp | ||
clientversion.h | ||
coins.cpp | ||
coins.h | ||
compat.h | ||
compressor.cpp | ||
compressor.h | ||
core_io.h | ||
core_memusage.h | ||
core_read.cpp | ||
core_write.cpp | ||
ctpl_stl.h | ||
cuckoocache.h | ||
cxxtimer.hpp | ||
dash-cli-res.rc | ||
dash-cli.cpp | ||
dash-tx-res.rc | ||
dash-tx.cpp | ||
dash-wallet-res.rc | ||
dash-wallet.cpp | ||
dashd-res.rc | ||
dashd.cpp | ||
dbwrapper.cpp | ||
dbwrapper.h | ||
dsnotificationinterface.cpp | ||
dsnotificationinterface.h | ||
dummywallet.cpp | ||
flat-database.h | ||
flatfile.cpp | ||
flatfile.h | ||
fs.cpp | ||
fs.h | ||
hash.cpp | ||
hash.h | ||
hdchain.cpp | ||
hdchain.h | ||
httprpc.cpp | ||
httprpc.h | ||
httpserver.cpp | ||
httpserver.h | ||
indirectmap.h | ||
init.cpp | ||
init.h | ||
keepass.cpp | ||
keepass.h | ||
key_io.cpp | ||
key_io.h | ||
key.cpp | ||
key.h | ||
keystore.cpp | ||
keystore.h | ||
limitedmap.h | ||
logging.cpp | ||
logging.h | ||
Makefile.am | ||
Makefile.bench.include | ||
Makefile.crc32c.include | ||
Makefile.leveldb.include | ||
Makefile.qt.include | ||
Makefile.qttest.include | ||
Makefile.test.include | ||
memusage.h | ||
merkleblock.cpp | ||
merkleblock.h | ||
messagesigner.cpp | ||
messagesigner.h | ||
miner.cpp | ||
miner.h | ||
net_permissions.cpp | ||
net_permissions.h | ||
net_processing.cpp | ||
net_processing.h | ||
net.cpp | ||
net.h | ||
netaddress.cpp | ||
netaddress.h | ||
netbase.cpp | ||
netbase.h | ||
netfulfilledman.cpp | ||
netfulfilledman.h | ||
netmessagemaker.h | ||
noui.cpp | ||
noui.h | ||
optional.h | ||
pow.cpp | ||
pow.h | ||
prevector.h | ||
protocol.cpp | ||
protocol.h | ||
psbt.cpp | ||
psbt.h | ||
pubkey.cpp | ||
pubkey.h | ||
random.cpp | ||
random.h | ||
rest.cpp | ||
reverse_iterator.h | ||
saltedhasher.cpp | ||
saltedhasher.h | ||
scheduler.cpp | ||
scheduler.h | ||
serialize.h | ||
shutdown.cpp | ||
shutdown.h | ||
span.h | ||
spentindex.h | ||
spork.cpp | ||
spork.h | ||
stacktraces.cpp | ||
stacktraces.h | ||
statsd_client.cpp | ||
statsd_client.h | ||
streams.h | ||
sync.cpp | ||
sync.h | ||
threadinterrupt.cpp | ||
threadinterrupt.h | ||
threadsafety.h | ||
timedata.cpp | ||
timedata.h | ||
tinyformat.h | ||
torcontrol.cpp | ||
torcontrol.h | ||
txdb.cpp | ||
txdb.h | ||
txmempool.cpp | ||
txmempool.h | ||
ui_interface.cpp | ||
ui_interface.h | ||
uint256.cpp | ||
uint256.h | ||
undo.h | ||
unordered_lru_cache.h | ||
validation.cpp | ||
validation.h | ||
validationinterface.cpp | ||
validationinterface.h | ||
version.h | ||
versionbits.cpp | ||
versionbits.h | ||
versionbitsinfo.cpp | ||
versionbitsinfo.h | ||
walletinitinterface.h | ||
warnings.cpp | ||
warnings.h |