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

Global variable & code style improvements to transport.c #155

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

clumens
Copy link

@clumens clumens commented Dec 3, 2024

No description provided.

clumens and others added 6 commits December 3, 2024 11:12
When we have a condition with a bunch of code under it, these can often
be rewritten to invert the condition and exit which allows all the
previously indented code to be un-indented.  This can make the resulting
code easier to follow.
These aren't necessary, and we don't use them consistently anyway so get
rid of the few that are still around.
* Get rid of whitespace at the end of lines.

* Add or remove whitespace as appropriate between functions, blocks, and
  around casts.

* Combine short lines into longer ones were possible.

* Get rid of an unnecessary return at the end of a void function.
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.

1 participant