Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Member variable 'version_info::special_separator_' is not initialized in the constructor.
- Loading branch information
1 parent
6a7abea
commit aa28426
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
aa28426
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this commit improve anything? The new code is semantically identical.
aa28426
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It moves the code to make their cppcheck run happy.
Actually, it's the source of an open ticket for Codacy. On my private fork, this commit fixes one issue and raises another. But on master they note neither. In actual point of fact, the specific message they produce is a false positive, but is hiding a true-positive. I'm using it as an example of how their system fails to provide consistent results, among other problems.