git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
93752b8
)
fix warning: control reaches end of non-void function [-Wreturn-type]
author
Giel van Schijndel
<me@mortis.eu>
Wed, 13 Jul 2011 11:43:50 +0000 (13:43 +0200)
committer
Giel van Schijndel
<me@mortis.eu>
Wed, 13 Jul 2011 12:25:45 +0000 (14:25 +0200)
Signed-off-by: Giel van Schijndel <me@mortis.eu>
src/wallet.cpp
patch
|
blob
|
history
diff --git
a/src/wallet.cpp
b/src/wallet.cpp
index
a60b0b4
..
68283c9
100644
(file)
--- a/
src/wallet.cpp
+++ b/
src/wallet.cpp
@@
-23,6
+23,7
@@
bool CWallet::AddKey(const CKey& key)
return true;
if (!IsCrypted())
return CWalletDB(strWalletFile).WriteKey(key.GetPubKey(), key.GetPrivKey());
+ return true;
}
bool CWallet::AddCryptedKey(const vector<unsigned char> &vchPubKey, const vector<unsigned char> &vchCryptedSecret)