mirror of
https://github.com/monero-project/monero.git
synced 2025-12-28 05:33:20 -08:00
Silence more stupid gcc warnings
This commit is contained in:
@@ -2329,7 +2329,7 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
|
||||
}
|
||||
}
|
||||
|
||||
size_t fake_outs_count;
|
||||
size_t fake_outs_count = 0;
|
||||
if(local_args.size() > 0) {
|
||||
size_t ring_size;
|
||||
if(!epee::string_tools::get_xtype_from_string(ring_size, local_args[0]))
|
||||
@@ -2906,7 +2906,7 @@ bool simple_wallet::sweep_main(uint64_t below, const std::vector<std::string> &a
|
||||
|
||||
std::vector<std::string> local_args = args_;
|
||||
|
||||
size_t fake_outs_count;
|
||||
size_t fake_outs_count = 0;
|
||||
if(local_args.size() > 0) {
|
||||
size_t ring_size;
|
||||
if(!epee::string_tools::get_xtype_from_string(ring_size, local_args[0]))
|
||||
|
||||
Reference in New Issue
Block a user