cleanup: remove some unused functions and shrink number of includes in bareos.h#1433
Merged
pstorz merged 40 commits intobareos:masterfrom May 30, 2023
Conversation
58fa751 to
5196e70
Compare
Contributor
|
I removed some unused members from FindFilesPacket. |
sebsura
previously requested changes
Apr 6, 2023
sebsura
reviewed
Apr 6, 2023
663dae3 to
0c96c5b
Compare
6ec3e7f to
9f445c9
Compare
9bf1b06 to
e864429
Compare
ecacc7e to
c5b8531
Compare
c5b8531 to
27cf2b0
Compare
pstorz
requested changes
May 15, 2023
Member
pstorz
left a comment
There was a problem hiding this comment.
Good work. Please review and cleanup the commit comments, they look unclean.
27cf2b0 to
9ff9b6e
Compare
... and include them where they are actually needed
... and include them where actually needed
moved the fcntl specific macro setup to separate `fcntl_def.h` file
... with actual functions
867e14d to
ab5bfa6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for contributing to the Bareos Project!
Description
This PR does the following modifications to the codebase:
ifdefmacros that are never reached.bareos.hsuper include header file to where they are actually usedPlease check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
Make sure you check/merge the PR using
devtools/pr-toolto have some simple automated checks run and a proper changelog record added.General
Source code quality
Tests