aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2011-10-10 15:51:07 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-10-25 11:40:59 -0400
commit0767e691996812f12e24c082e83184dcc86a552a (patch)
tree26a59dc94d551cad650b8fa41d17b7de6cb137d8 /src/wallet.cpp
parentd0415902184768a997726fe1c8bdd613349f97b4 (diff)
downloadbitcoin-0767e691996812f12e24c082e83184dcc86a552a.tar.xz
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 30a561dcb4..46c57e2fc6 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -39,6 +39,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)