Skip to content

remove unused headers#11922

Merged
alexey-milovidov merged 2 commits intoClickHouse:masterfrom
bharatnc:ncb/remove-unused-headers
Jun 24, 2020
Merged

remove unused headers#11922
alexey-milovidov merged 2 commits intoClickHouse:masterfrom
bharatnc:ncb/remove-unused-headers

Conversation

@bharatnc
Copy link
Contributor

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Clean up unused header files from Obfuscator.cpp and DatabaseAtomic.cpp

Detailed description / Documentation draft:

Noticed that the following files had some unused headers, so
cleaning them up:

programs/obfuscator/Obfuscator.cpp
src/Databases/DatabaseAtomic.cpp

bharatnc added 2 commits June 23, 2020 22:08
The following files had some unused headers and caught my eyes, so
cleaning them up:

```bash
programs/obfuscator/Obfuscator.cpp
src/Databases/DatabaseAtomic.cpp
```
@alexey-milovidov
Copy link
Member

Ok.

BTW, how did you find these unused headers?

@alexey-milovidov alexey-milovidov self-assigned this Jun 24, 2020
@bharatnc
Copy link
Contributor Author

Ok.

BTW, how did you find these unused headers?

I use CLion and it does a pretty good job of giving me hints on unused headers in a file. I found them randomly while I was going through some code similar to how I found a few others in #11660.

I will also know for sure if CLion is correct this time when all these tests pass!

@alexey-milovidov
Copy link
Member

Builds Ok, merge...

@alexey-milovidov alexey-milovidov merged commit 3e3ac66 into ClickHouse:master Jun 24, 2020
@CurtizJ CurtizJ added the pr-build Pull request with build/testing/packaging improvement label Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-build Pull request with build/testing/packaging improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants