merge bitcoin#15938: silence GCC 7 warning "control reaches end of non-void function" (-Wreturn-type) in psbt.cpp

This commit is contained in:
Kittywhiskers Van Gogh 2019-05-02 08:24:05 +02:00
parent cbf7f596e9
commit e0bbc59729

View File

@ -303,7 +303,9 @@ std::string PSBTRoleName(PSBTRole role) {
case PSBTRole::SIGNER: return "signer";
case PSBTRole::FINALIZER: return "finalizer";
case PSBTRole::EXTRACTOR: return "extractor";
// no default case, so the compiler can warn about missing cases
}
assert(false);
}
PSBTAnalysis AnalyzePSBT(PartiallySignedTransaction psbtx)