diff options
| author | Philip Kaufmann <[email protected]> | 2013-04-28 17:37:50 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-06-01 12:53:57 +0200 |
| commit | 3260b4c09006ea5c1b00c599a14e6c706ac760f8 (patch) | |
| tree | f413a27870dbbf73933c73c58823e377a5c4b22f /src/main.cpp | |
| parent | Merge pull request #2722 from trapp/master (diff) | |
| download | discoin-3260b4c09006ea5c1b00c599a14e6c706ac760f8.tar.xz discoin-3260b4c09006ea5c1b00c599a14e6c706ac760f8.zip | |
remove GetBoolArg() fDefault parameter defaulting to false
- explicitly set the default of all GetBoolArg() calls
- rework getarg_test.cpp and util_tests.cpp to cover this change
- some indentation fixes
- move macdockiconhandler.h include in bitcoin.cpp to the "our headers"
section
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 24e1c2334..a98b83b6a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2931,7 +2931,7 @@ string GetWarnings(string strFor) string strStatusBar; string strRPC; - if (GetBoolArg("-testsafemode")) + if (GetBoolArg("-testsafemode", false)) strRPC = "test"; if (!CLIENT_VERSION_IS_RELEASE) @@ -4175,7 +4175,7 @@ CBlockTemplate* CreateNewBlock(CReserveKey& reservekey) // Priority order to process transactions list<COrphan> vOrphan; // list memory doesn't move map<uint256, vector<COrphan*> > mapDependers; - bool fPrintPriority = GetBoolArg("-printpriority"); + bool fPrintPriority = GetBoolArg("-printpriority", false); // This vector will be sorted into a priority queue: vector<TxPriority> vecPriority; |