diff options
| author | Jeff Garzik <[email protected]> | 2013-07-31 03:35:33 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2013-07-31 03:35:33 -0700 |
| commit | 8351d55cd3955c95c5e3fe065a456db08cc8a559 (patch) | |
| tree | 2647f444088b18845088a5fac3a6fdabe656eeba /src/walletdb.cpp | |
| parent | Make sure new wallet variables are initialized (diff) | |
| parent | Remove #define loop from util.h (diff) | |
| download | discoin-8351d55cd3955c95c5e3fe065a456db08cc8a559.tar.xz discoin-8351d55cd3955c95c5e3fe065a456db08cc8a559.zip | |
Merge pull request #2866 from gavinandresen/loopdefine
Remove #define loop from util.h
Diffstat (limited to 'src/walletdb.cpp')
| -rw-r--r-- | src/walletdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/walletdb.cpp b/src/walletdb.cpp index 7aad77976..014d8cbe2 100644 --- a/src/walletdb.cpp +++ b/src/walletdb.cpp @@ -73,7 +73,7 @@ void CWalletDB::ListAccountCreditDebit(const string& strAccount, list<CAccountin if (!pcursor) throw runtime_error("CWalletDB::ListAccountCreditDebit() : cannot create DB cursor"); unsigned int fFlags = DB_SET_RANGE; - loop + while (true) { // Read next record CDataStream ssKey(SER_DISK, CLIENT_VERSION); @@ -437,7 +437,7 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet) return DB_CORRUPT; } - loop + while (true) { // Read next record CDataStream ssKey(SER_DISK, CLIENT_VERSION); |