Skip to content

parenthesize expression-like macro #592

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
merged 2 commits into from
Nov 28, 2022
Merged

parenthesize expression-like macro #592

merged 2 commits into from
Nov 28, 2022

Conversation

tcpluess
Copy link
Contributor

Fixed a lint warning

Description

Lint complains about the macro configSET_TLS_BLOCK not being parenthesized. I fixed that in FreeRTOS.h.
The macro is used in two places in tasks.c and parenthesizing the macro has no effect at all, but removes one lint warning.

Test Steps

see above.

Related Issue

none.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@tcpluess tcpluess requested a review from a team as a code owner November 26, 2022 11:35
RichardBarry
RichardBarry previously approved these changes Nov 26, 2022
aggarg
aggarg previously approved these changes Nov 26, 2022
@codecov
Copy link

codecov bot commented Nov 26, 2022

Codecov Report

Base: 94.30% // Head: 94.30% // No change to project coverage 👍

Coverage data is based on head (201a8a0) compared to base (b3b097b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #592   +/-   ##
=======================================
  Coverage   94.30%   94.30%           
=======================================
  Files           6        6           
  Lines        2370     2370           
  Branches      579      579           
=======================================
  Hits         2235     2235           
  Misses         85       85           
  Partials       50       50           
Flag Coverage Δ
unittests 94.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tcpluess tcpluess dismissed stale reviews from aggarg and RichardBarry via 201a8a0 November 26, 2022 17:56
@aggarg aggarg merged commit 04dfb70 into FreeRTOS:main Nov 28, 2022
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.

4 participants