diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-09-20 21:37:40 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-09-20 21:37:40 +0200 |
commit | 8f1f43163a221153403a46902d026e3b72f1b3e3 (patch) | |
tree | 7e45b5ca9fd0f140303d67baa0b87e564d5cc8fe /src/simplewallet | |
parent | Merge pull request #2410 (diff) | |
parent | Silence more stupid gcc warnings (diff) | |
download | monero-8f1f43163a221153403a46902d026e3b72f1b3e3.tar.xz |
Merge pull request #2412
81fb2f53 Silence more stupid gcc warnings (Howard Chu)
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 9f161288d..3fe68046b 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -2330,7 +2330,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])) @@ -2907,7 +2907,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])) |