forked from lthn/blockchain
Get rid of the compiler warning "not all control paths return a value" (#472)
This commit is contained in:
parent
1968608018
commit
fbf0d413a8
1 changed files with 4 additions and 0 deletions
|
|
@ -2076,6 +2076,8 @@ bool tx_pool_semantic_validation::generate(std::vector<test_event_entry>& events
|
|||
{
|
||||
return sum + boost::get<txin_multisig>(input).amount;
|
||||
}
|
||||
|
||||
return sum;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -2085,6 +2087,8 @@ bool tx_pool_semantic_validation::generate(std::vector<test_event_entry>& events
|
|||
{
|
||||
return sum + boost::get<tx_out_bare>(output).amount;
|
||||
}
|
||||
|
||||
return sum;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue