Remove unused include in hash.cpp #11884
pull kallewoof wants to merge 1 commits into bitcoin:master from kallewoof:20171213-unneeded-include-hash-cpp changing 1 files +0 −1- 
  
  kallewoof commented at 5:48 am on December 13, 2017: member
- 
    
    fanquake added the label Refactoring on Dec 13, 2017
- 
  
  sipa commented at 5:56 am on December 13, 2017: memberPlease don’t mark this as trivial (it’s changing the code being compiled), but otherwise obvious ACK.
- 
    
    fanquake renamed this:
 [trivial] Remove unused include in hash.cpp
 Remove unused include in hash.cpp
 on Dec 13, 2017
- 
    
    jonasschnelli approved
- 
  
  jonasschnelli commented at 6:06 am on December 13, 2017: contributorutACK c1e5e27e7a612703f7351f8fc9ce47be669d93ca
- 
  
  kallewoof commented at 6:11 am on December 13, 2017: memberPlease don’t mark this as trivial (it’s changing the code being compiled), but otherwise obvious ACK. You could argue that it doesn’t, actually, but I’ll keep that in mind. 
- 
  
  laanwj commented at 7:11 am on December 13, 2017: memberYou could argue that it doesn’t, actually, but I’ll keep that in mind. One way to find out for sure: compare executables with https://github.com/bitcoin-core/bitcoin-maintainer-tools/blob/master/build-for-compare.py. (though I don’t think this argument is worth it, utACK anyhow, please update the commit message too) 
- 
  
  practicalswift commented at 9:26 am on December 13, 2017: contributorutACK c1e5e27e7a612703f7351f8fc9ce47be669d93ca
- 
    
    Remove unused include in hash.cpp 3f09e03e0f
- 
    
    kallewoof force-pushed on Dec 13, 2017
- 
  
  kallewoof commented at 11:09 am on December 13, 2017: memberRemoved “[trivial]” from commit message.
- 
  
  promag commented at 4:09 pm on December 13, 2017: memberutACK 3f09e03.
- 
  
  MarcoFalke commented at 6:53 pm on December 13, 2017: memberTend to NACK here, since a related pull was just merged: #10574 and I fail to see why this change wasn’t included there. I’d rather avoid another upcoming wave of commits with little value compared to the review it has to go through. I am fine if you improve the travis check (#11878) instead. In case my NACK is invalid, binary diff: 0< 3554a6: mov $0x6b,%edx 1--- 2> 3554a6: mov $0x6a,%edxutACK 3f09e03e0f2ddbcd7ccaa9d21062be97dab2883a 
- 
  
  kallewoof commented at 2:40 am on December 14, 2017: member@MarcoFalke I don’t see why the other merge is related, and I don’t think this commit has little value. Removing redundant/unused includes is quite beneficial in many cases. And one-liners are trivial to review. The duplicate includes PR you pointed to seems slightly unrelated. This isn’t a duplicate include, this is an unused include. Nowhere in the hash.cppcode does it use anything frompubkey.h. It may be possible to use static analysers to detect that sort of thing, but it smells like something that would give false positives occasionally.
- 
    
    dcousens approved
- 
  
  MarcoFalke commented at 4:55 am on December 14, 2017: member@kallewoof Jup, you are right.
- 
    
    laanwj merged this on Dec 14, 2017
- 
    
    laanwj closed this on Dec 14, 2017
 
- 
    
    laanwj referenced this in commit 66479c0e61 on Dec 14, 2017
- 
    
    kallewoof deleted the branch on Oct 17, 2019
- 
    
    PastaPastaPasta referenced this in commit 39a014c722 on Feb 13, 2020
- 
    
    PastaPastaPasta referenced this in commit f72e81f0e8 on Feb 27, 2020
- 
    
    PastaPastaPasta referenced this in commit fcf16eb402 on Mar 14, 2020
- 
    
    PastaPastaPasta referenced this in commit 7f9ca9d119 on Mar 19, 2020
- 
    
    PastaPastaPasta referenced this in commit 411c57995b on Mar 24, 2020
- 
    
    ckti referenced this in commit a4b951cbe1 on Mar 28, 2021
- 
    
    DrahtBot locked this on Dec 16, 2021
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: 2025-10-31 12:13 UTC
More mirrored repositories can be found on mirror.b10c.me