aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2011-10-10 15:51:07 -0400
committerLuke Dashjr <[email protected]>2011-11-02 11:04:13 -0400
commitef4280e08b217bf2512bb1878e1dd2a926e557c9 (patch)
tree1df906ca055c184a9b6826a8e382831a9ceaff96 /src/wallet.cpp
parentOnly define __STDC_LIMIT_MACROS if not already defined. (diff)
downloaddiscoin-ef4280e08b217bf2512bb1878e1dd2a926e557c9.tar.xz
discoin-ef4280e08b217bf2512bb1878e1dd2a926e557c9.zip
Add returns to avoid annoying compile-time warnings.
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index 8bbb80cf2..298a2c642 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -40,6 +40,7 @@ bool CWallet::AddCryptedKey(const vector<unsigned char> &vchPubKey, const vector
else
return CWalletDB(strWalletFile).WriteCryptedKey(vchPubKey, vchCryptedSecret);
}
+ return false;
}
bool CWallet::Unlock(const string& strWalletPassphrase)