Miscellaneous portability / warning fixes
Remove extra parentheses that clang thinks are there to prevent a different warning for "if (numConsumedByB = 0) /*assignment intended*/". Use 0 instead of NULL to initialise non-pointers. Only const *integral or enumeration* static data members can be portably initialised within the class definition.
Showing
- src/subtractBed/subtractBed.cpp 1 addition, 1 deletionsrc/subtractBed/subtractBed.cpp
- src/utils/Fasta/Fasta.cpp 3 additions, 3 deletionssrc/utils/Fasta/Fasta.cpp
- src/utils/fileType/FileRecordTypeChecker.cpp 1 addition, 0 deletionssrc/utils/fileType/FileRecordTypeChecker.cpp
- src/utils/fileType/FileRecordTypeChecker.h 0 additions, 2 deletionssrc/utils/fileType/FileRecordTypeChecker.h
Loading
Please register or sign in to comment