Fix two Wunused-private-field warnings.

This commit is contained in:
Howard Hinnant
2014-10-01 11:28:42 -04:00
committed by Vinnie Falco
parent ca8eda412e
commit 1161511207
3 changed files with 5 additions and 6 deletions

View File

@@ -22,10 +22,7 @@
namespace ripple {
LocalCredentials::LocalCredentials ()
: mLedger (0)
{
}
LocalCredentials::LocalCredentials () = default;
void LocalCredentials::start ()
{

View File

@@ -60,8 +60,6 @@ private:
RippleAddress mNodePublicKey;
RippleAddress mNodePrivateKey;
LedgerIndex mLedger; // ledger we last synched to
};
} // ripple

View File

@@ -31,7 +31,9 @@ class CreateOffer
{
private:
// What kind of offer we are placing
#if RIPPLE_ENABLE_AUTOBRIDGING
bool autobridging_;
#endif
/** Determine if we are authorized to hold the asset we want to get */
TER
@@ -132,7 +134,9 @@ public:
params,
engine,
deprecatedLogs().journal("CreateOffer"))
#if RIPPLE_ENABLE_AUTOBRIDGING
, autobridging_ (autobridging)
#endif
{
}