Skip to content

cleanup: Add comment after every #endif.#2587

Merged
iphydf merged 1 commit into
TokTok:masterfrom
iphydf:endif
Jan 24, 2024
Merged

cleanup: Add comment after every #endif.#2587
iphydf merged 1 commit into
TokTok:masterfrom
iphydf:endif

Conversation

@iphydf

@iphydf iphydf commented Jan 23, 2024

Copy link
Copy Markdown
Member

This makes far-away endifs clearer, so we're applying the rule to all endifs to be consistent.


This change is Reviewable

@iphydf iphydf added this to the v0.2.19 milestone Jan 23, 2024
@iphydf iphydf marked this pull request as ready for review January 23, 2024 13:17

@JFreegman JFreegman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed 73 of 73 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@nurupo nurupo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed 73 of 73 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@nurupo nurupo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed 4 of 4 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! 1 change requests, 1 of 1 approvals obtained (waiting on @iphydf)


toxcore/network.c line 44 at r3 (raw file):

// Comment line here to avoid reordering by source code formatters.
#include <libc.h>
#endif

What happened here?

@iphydf iphydf left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 1 change requests, 1 of 1 approvals obtained (waiting on @nurupo)


toxcore/network.c line 44 at r3 (raw file):

Previously, nurupo wrote…

What happened here?

Deleted. But, since you asked, I've made a separate PR for it: #2588.

@iphydf iphydf force-pushed the endif branch 3 times, most recently from dbf33db to 62a5ed7 Compare January 23, 2024 20:10

@nurupo nurupo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed 4 of 4 files at r4, all commit messages.
Reviewable status: :shipit: complete! 2 of 1 approvals obtained

@iphydf iphydf force-pushed the endif branch 4 times, most recently from 38c99e8 to 47dca28 Compare January 23, 2024 21:05
@codecov

codecov Bot commented Jan 23, 2024

Copy link
Copy Markdown

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (ba99d4d) 71.76% compared to head (1cdcf93) 73.64%.

Files Patch % Lines
toxcore/network.c 60.00% 4 Missing ⚠️
toxcore/crypto_core.c 66.66% 1 Missing ⚠️
toxcore/logger.c 0.00% 1 Missing ⚠️
toxcore/mono_time.c 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2587      +/-   ##
==========================================
+ Coverage   71.76%   73.64%   +1.87%     
==========================================
  Files         148      148              
  Lines       30376    30315      -61     
==========================================
+ Hits        21799    22325     +526     
+ Misses       8577     7990     -587     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This makes far-away endifs clearer, so we're applying the rule to all
endifs to be consistent.
@iphydf iphydf merged commit 1cdcf93 into TokTok:master Jan 24, 2024
@iphydf iphydf deleted the endif branch January 24, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants