mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
scripted-diff: Remove trailing whitespaces
-BEGIN VERIFY SCRIPT- sed --in-place'' --regexp-extended 's/[[:space:]]+$//g' $(git grep -I --files-with-matches --extended-regexp '[[:space:]]+$' -- src test ':!*.svg' ':!src/crypto/sha256_sse4*' ':!src/leveldb' ':!src/qt/locale' ':!src/secp256k1' ':!src/univalue') -END VERIFY SCRIPT-
This commit is contained in:
@@ -252,8 +252,8 @@ static bool isCanonicalException(const std::ios_base::failure& ex)
|
||||
|
||||
// The string returned by what() can be different for different platforms.
|
||||
// Instead of directly comparing the ex.what() with an expected string,
|
||||
// create an instance of exception to see if ex.what() matches
|
||||
// the expected explanatory string returned by the exception instance.
|
||||
// create an instance of exception to see if ex.what() matches
|
||||
// the expected explanatory string returned by the exception instance.
|
||||
return strcmp(expectedException.what(), ex.what()) == 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user