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

chore: disable warning about pre C99 code #2318

Merged
merged 7 commits into from
May 27, 2022

Conversation

sudden6
Copy link

@sudden6 sudden6 commented May 24, 2022

This change is Reviewable

@sudden6 sudden6 requested a review from a team as a code owner May 24, 2022 19:10
@auto-add-label auto-add-label bot added the chore Updating grunt tasks etc; no production code change label May 24, 2022
@sudden6 sudden6 added this to the v0.2.19 milestone May 24, 2022
@sudden6 sudden6 force-pushed the fix/clang_overactive_warning branch from 8cf5d58 to 78a0a75 Compare May 24, 2022 19:12
@CLAassistant
Copy link

CLAassistant commented May 24, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ sudden6
✅ iphydf
❌ dependabot[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

dependabot bot and others added 2 commits May 24, 2022 21:35
Bumps [third_party/cmp](https://github.com/camgunz/cmp) from `4c3737d` to `e836703`.
- [Release notes](https://github.com/camgunz/cmp/releases)
- [Commits](camgunz/cmp@4c3737d...e836703)

---
updated-dependencies:
- dependency-name: third_party/cmp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
And tokstyle is better at it, covering not just direct recursion, but
also (most possible instances of) recursion through function pointers.
@sudden6 sudden6 force-pushed the fix/clang_overactive_warning branch from 8f5923e to 7205db7 Compare May 24, 2022 19:35
@sudden6 sudden6 removed this from the v0.2.19 milestone May 24, 2022
@sudden6 sudden6 force-pushed the fix/clang_overactive_warning branch 9 times, most recently from bb2caba to d6b6b14 Compare May 25, 2022 07:54
This fixes an error reported by cppcheck about overflowing the callback
array. The locking logic probably was broken, so I replaced it with
something simpler and more robust.
@sudden6 sudden6 force-pushed the fix/clang_overactive_warning branch from d6b6b14 to 4062c3a Compare May 25, 2022 17:33
@sudden6 sudden6 force-pushed the fix/clang_overactive_warning branch 2 times, most recently from 8643a55 to 62291ac Compare May 25, 2022 18:59
@sudden6 sudden6 force-pushed the fix/clang_overactive_warning branch from 62291ac to 008d9c8 Compare May 25, 2022 19:00
@codecov
Copy link

codecov bot commented May 25, 2022

Codecov Report

Merging #2318 (9a26580) into master (50094b7) will increase coverage by 0.00%.
The diff coverage is 88.88%.

@@           Coverage Diff           @@
##           master    #2318   +/-   ##
=======================================
  Coverage   78.92%   78.93%           
=======================================
  Files         127      127           
  Lines       24063    24078   +15     
=======================================
+ Hits        18992    19005   +13     
- Misses       5071     5073    +2     
Impacted Files Coverage Δ
toxcore/friend_connection.c 83.52% <83.33%> (+0.27%) ⬆️
toxcore/DHT.c 83.94% <86.66%> (+0.37%) ⬆️
auto_tests/TCP_test.c 96.62% <100.00%> (ø)
auto_tests/announce_test.c 100.00% <100.00%> (ø)
auto_tests/auto_test_support.c 79.90% <100.00%> (+0.19%) ⬆️
auto_tests/forwarding_test.c 96.31% <100.00%> (ø)
auto_tests/onion_test.c 85.87% <100.00%> (ø)
toxav/groupav.c 74.58% <0.00%> (-1.34%) ⬇️
toxcore/TCP_client.c 83.37% <0.00%> (-0.71%) ⬇️
toxcore/onion.c 85.51% <0.00%> (-0.29%) ⬇️
... and 7 more

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 50094b7...9a26580. Read the comment docs.

Copy link
Member

@JFreegman JFreegman left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, 4 of 4 files at r2, 8 of 9 files at r3, 1 of 2 files at r4, 2 of 2 files at r5, all commit messages.
Reviewable status: :shipit: complete! 2 of 1 approvals obtained

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Updating grunt tasks etc; no production code change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants