From a3e3318943882834de62fef1eb58a17694a6a74a Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 22 Aug 2012 04:55:01 -0700 Subject: [PATCH] Silence a warning. --- src/AccountState.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/AccountState.cpp b/src/AccountState.cpp index 235616dfb8..ab8fcac229 100644 --- a/src/AccountState.cpp +++ b/src/AccountState.cpp @@ -21,10 +21,12 @@ AccountState::AccountState(const NewcoinAddress& naAccountID) : mAccountID(naAcc } AccountState::AccountState(const SerializedLedgerEntry::pointer& ledgerEntry,const NewcoinAddress& naAccountID) : - mLedgerEntry(ledgerEntry), mValid(false), mAccountID(naAccountID) + mAccountID(naAccountID), mLedgerEntry(ledgerEntry), mValid(false) { - if (!mLedgerEntry) return; - if (mLedgerEntry->getType() != ltACCOUNT_ROOT) return; + if (!mLedgerEntry) + return; + if (mLedgerEntry->getType() != ltACCOUNT_ROOT) + return; mValid = true; }