Skip to content

tests: drivers: counter: Fix coverity issues #14455

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

Merged

Conversation

nordic-krch
Copy link
Collaborator

Apparently, casting was not enough for coverity. Adding temporary variable.

Issues 190937, 190952, 190967, 190983

Fixes #13876
Fixes #13863
Fixes #13851
Fixes #13839

Signed-off-by: Krzysztof Chruscinski [email protected]

@codecov-io
Copy link

codecov-io commented Mar 13, 2019

Codecov Report

Merging #14455 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #14455   +/-   ##
=======================================
  Coverage   52.04%   52.04%           
=======================================
  Files         308      308           
  Lines       45554    45554           
  Branches    10545    10545           
=======================================
  Hits        23707    23707           
  Misses      17051    17051           
  Partials     4796     4796

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54ae600...b521778. Read the comment docs.

Copy link
Collaborator

@galak galak left a comment

Choose a reason for hiding this comment

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

Rename tmp variables to be a bit more clear.

Issues 190937, 190952, 190967, 190983

Signed-off-by: Krzysztof Chruscinski <[email protected]>
@nordic-krch nordic-krch force-pushed the counter_test_coverity_fix branch from 662de54 to b521778 Compare March 13, 2019 11:46
@nordic-krch
Copy link
Collaborator Author

@galak

Rename tmp variables to be a bit more clear.

done

@galak galak merged commit 3b27779 into zephyrproject-rtos:master Mar 13, 2019
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.

3 participants