On master (80c8a02f1b4f6ad2b5c02595d66a74db22373ed4) compiling with gcc:
0$ ./configure --without-libs
1$ make clean && make
2...
3test/script_tests.cpp:1369:23: warning: ‘CScriptWitness script_tests::ScriptWitnessFromJSON(const UniValue&)’ defined but not used [-Wunused-function]
4 1369 | static CScriptWitness ScriptWitnessFromJSON(const UniValue& univalue)
5 | ^~~~~~~~~~~~~~~~~~~~~
6test/script_tests.cpp:1357:28: warning: ‘std::vector<CTxOut> script_tests::TxOutsFromJSON(const UniValue&)’ defined but not used [-Wunused-function]
7 1357 | static std::vector<CTxOut> TxOutsFromJSON(const UniValue& univalue)
8 | ^~~~~~~~~~~~~~
9test/script_tests.cpp:1350:28: warning: ‘CMutableTransaction script_tests::TxFromHex(const string&)’ defined but not used [-Wunused-function]
10 1350 | static CMutableTransaction TxFromHex(const std::string& str)
11 | ^~~~~~~~~
12...
This change is move-only (nice to review with git diff --color-moved
).