diff options
author | Howard Chu <hyc@symas.com> | 2017-09-08 11:36:49 +0100 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2017-09-08 11:36:49 +0100 |
commit | 81fb2f53479594a552fcbc474b6cd025cd50f87a (patch) | |
tree | 9b8c9834d42b3d1b089ee4bfbc2dd3a152b77c36 /src/simplewallet | |
parent | Merge pull request #2384 (diff) | |
download | monero-81fb2f53479594a552fcbc474b6cd025cd50f87a.tar.xz |
Silence more stupid gcc warnings
Diffstat (limited to 'src/simplewallet')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 857e2af6e..ed0913b1c 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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])) |