Skip to content

Conversation

belovachap
Copy link
Contributor

Address some of the compiler warnings that might have come from us.

@backpacker69
Copy link
Member

we are likely to have softforks in future why do you remove this code?

@belovachap
Copy link
Contributor Author

we are likely to have softforks in future why do you remove this code?

The compiler warning that prompted me to remove it:

rpc/blockchain.cpp:1053:17: warning: ‘UniValue SoftForkDesc(const string&, int, CBlockIndex*, const Consensus::Params&)’ defined but not used [-Wunused-function]
 static UniValue SoftForkDesc(const std::string &name, int version, CBlockIndex* pindex, const Consensus::Params& consensusParams)
                 ^~~~~~~~~~~~

but if you think we'll need SoftForkDesc at some point, I've added it back in :)

@backpacker69 backpacker69 merged commit 1727028 into peercoin:release-0.9 Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants