Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve LC0029 with use of 0DT comparison #332

Merged

Conversation

Arthurvdv
Copy link
Collaborator

Do not raise the LC0029 rule when one or the other side of the comparison has the value '0DT' to compare with.

if Setup."Last License Check" <> 0DT then
  ...

if Setup."Last License Check" = 0DT then
  ...

@Arthurvdv Arthurvdv linked an issue Nov 13, 2023 that may be closed by this pull request
@Arthurvdv Arthurvdv merged commit 2502245 into prerelease Nov 13, 2023
@Arthurvdv Arthurvdv deleted the ImproveRule0029WithUseOffZeroDateTimeComparison branch November 13, 2023 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New warning for DateTime and Time comparison
1 participant