Fix compiler warnings #4304

pull ghost wants to merge 1 commits into bitcoin:master from changing 1 files +1 −1
  1. ghost commented at 11:58 AM on June 7, 2014: none

    Fixes the following compiler warning

    miner.cpp: In constructor ‘COrphan::COrphan(const CTransaction*)’:
    miner.cpp:69:14: warning: ‘COrphan::feeRate’ will be initialized after [-Wreorder]
         CFeeRate feeRate;
                  ^
    miner.cpp:68:12: warning:   ‘double COrphan::dPriority’ [-Wreorder]
         double dPriority;
                ^
    miner.cpp:71:5: warning:   when initialized here [-Wreorder]
         COrphan(const CTransaction* ptxIn) : ptx(ptxIn), feeRate(0), dPriority(0)
    
  2. Fix compiler warnings
    Fixes the following compiler warning
    
    ```
    miner.cpp: In constructor ‘COrphan::COrphan(const CTransaction*)’:
    miner.cpp:69:14: warning: ‘COrphan::feeRate’ will be initialized after [-Wreorder]
         CFeeRate feeRate;
                  ^
    miner.cpp:68:12: warning:   ‘double COrphan::dPriority’ [-Wreorder]
         double dPriority;
                ^
    miner.cpp:71:5: warning:   when initialized here [-Wreorder]
         COrphan(const CTransaction* ptxIn) : ptx(ptxIn), feeRate(0), dPriority(0)
    ```
    02bec4b268
  3. BitcoinPullTester commented at 12:43 PM on June 7, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/02bec4b268fa32153f26a5f4c089d4f92d887186 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  4. laanwj merged this on Jun 7, 2014
  5. laanwj closed this on Jun 7, 2014

  6. laanwj referenced this in commit 96f6f718e4 on Jun 7, 2014
  7. unknown deleted the branch on Jun 7, 2014
  8. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me