mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix two Wunused-private-field warnings.
This commit is contained in:
committed by
Vinnie Falco
parent
ca8eda412e
commit
1161511207
@@ -22,10 +22,7 @@
|
||||
|
||||
namespace ripple {
|
||||
|
||||
LocalCredentials::LocalCredentials ()
|
||||
: mLedger (0)
|
||||
{
|
||||
}
|
||||
LocalCredentials::LocalCredentials () = default;
|
||||
|
||||
void LocalCredentials::start ()
|
||||
{
|
||||
|
||||
@@ -60,8 +60,6 @@ private:
|
||||
|
||||
RippleAddress mNodePublicKey;
|
||||
RippleAddress mNodePrivateKey;
|
||||
|
||||
LedgerIndex mLedger; // ledger we last synched to
|
||||
};
|
||||
|
||||
} // ripple
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user