diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-06-27 18:39:25 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-06-27 18:39:25 +0200 |
| commit | a5072a773071b8f4b644f84a77643e2ad18dba3a (patch) | |
| tree | 436173f8092d054d7b26cb53eea3fe19f8c0e659 /src/main.cpp | |
| parent | util: Update tinyformat (diff) | |
| download | discoin-a5072a773071b8f4b644f84a77643e2ad18dba3a.tar.xz discoin-a5072a773071b8f4b644f84a77643e2ad18dba3a.zip | |
util: Remove zero-argument versions of LogPrint and error
Changes in tinyformat, recently imported from upstream have made the
zero-argument versions of formatting functions unnecessary. Remove them.
This is a slight semantic change: `%` characters in the zero-argument
call are now regarded and need to be escaped. As for as I know, the only
use of this is in `main.cpp`.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6cdd55e39..bb65fc0de 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4159,7 +4159,7 @@ bool CVerifyDB::VerifyDB(const CChainParams& chainparams, CCoinsView *coinsview, int nGoodTransactions = 0; CValidationState state; int reportDone = 0; - LogPrintf("[0%]..."); + LogPrintf("[0%%]..."); for (CBlockIndex* pindex = chainActive.Tip(); pindex && pindex->pprev; pindex = pindex->pprev) { boost::this_thread::interruption_point(); |