Skip to content

C++: Change name of UncheckedReturnValueForTimeFunctions.ql#1838

Merged
geoffw0 merged 2 commits into
github:masterfrom
jbj:leap-year-name
Aug 29, 2019
Merged

C++: Change name of UncheckedReturnValueForTimeFunctions.ql#1838
geoffw0 merged 2 commits into
github:masterfrom
jbj:leap-year-name

Conversation

@jbj

@jbj jbj commented Aug 28, 2019

Copy link
Copy Markdown
Contributor

The previous name was identical to the name of Adding365DaysPerYear.ql. It may have been a copy-paste error.

The previous name was identical to the name of
`Adding365DaysPerYear.ql`. It may have been a copy-paste error.
@jbj jbj added the C++ label Aug 28, 2019
@jbj jbj requested a review from geoffw0 August 28, 2019 12:38
@jbj jbj requested a review from a team as a code owner August 28, 2019 12:38
/**
* @name Year field changed using an arithmetic operation is used on an unchecked time conversion function
* @name Unchecked return value for time conversion function
* @description A year field changed using an arithmetic operation is used on a time conversion function, but the return value of the function is not checked for success or failure

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The @descriptions of the two queries still match, and to be honest, I find the names and descriptions of these queries quite confusing (compared to the violation messages and qhelp, which make things much clearer).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pushed a commit to try and improve these.

@geoffw0 geoffw0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants