diff options
| author | Giel van Schijndel <[email protected]> | 2011-07-13 13:43:50 +0200 |
|---|---|---|
| committer | Giel van Schijndel <[email protected]> | 2011-07-13 14:25:45 +0200 |
| commit | 84c3c2ebe76dcf70f65397758840a9d6b1a0605a (patch) | |
| tree | 6c8848a312fa2584b8e2b33f2bd7677f5193c855 /src/wallet.cpp | |
| parent | fix warning: variable ‘nMinDepth’ set but not used [-Wunused-but-set-vari... (diff) | |
| download | discoin-84c3c2ebe76dcf70f65397758840a9d6b1a0605a.tar.xz discoin-84c3c2ebe76dcf70f65397758840a9d6b1a0605a.zip | |
fix warning: control reaches end of non-void function [-Wreturn-type]
Signed-off-by: Giel van Schijndel <[email protected]>
Diffstat (limited to 'src/wallet.cpp')
| -rw-r--r-- | src/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index a60b0b4fa..68283c9e8 100644 --- 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) |