mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cleanups and fixes (RIPD-532):
* Properly handle sfWalletLocator field * Plug a tiny memory leak * Avoid naked pointers * Remove unused variables * Other small cleanups
This commit is contained in:
@@ -643,8 +643,8 @@ Reader::readArray ( Token& tokenStart )
|
||||
ok = readToken ( token );
|
||||
}
|
||||
|
||||
bool badTokenType = ( token.type_ == tokenArraySeparator &&
|
||||
token.type_ == tokenArrayEnd );
|
||||
bool badTokenType = ( token.type_ != tokenArraySeparator &&
|
||||
token.type_ != tokenArrayEnd );
|
||||
|
||||
if ( !ok || badTokenType )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user