Skip to content

Remove redundant return statements#57

Open
MutableFire wants to merge 1 commit into
lithium-tech:mainfrom
MutableFire:remove-returns
Open

Remove redundant return statements#57
MutableFire wants to merge 1 commit into
lithium-tech:mainfrom
MutableFire:remove-returns

Conversation

@MutableFire

Copy link
Copy Markdown
Contributor

In C, reaching the closing brace } of a void function implicitly returns control to the caller. Explicit return; statements in these positions are unnecessary noise that clutters the code. Removing them aligns the code with common C style guidelines and improves readability.

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