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

Fix LCC/expr.c code style to avoid numerous warnings #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jnz
Copy link
Owner

@jnz jnz commented Sep 28, 2018

Based on the ioquake3 pull request by WolfWings: ioquake/ioq3#255

The mixed indentation and 'break after expression' formatting in this
code makes it a bit of a landmine, and is causing a large brick of
warnings with various compilers and other tools. Adding explicit
bracketing and reformatting cases to make code path more explicit, as
well as fixing spaces-vs-tab indentation issues due to having to
re-indent this function.

The mixed indentation and 'break after expression' formatting in this
code makes it a bit of a landmine, and is causing a large brick of
warnings with various compilers and other tools. Adding explicit
bracketing and reformatting cases to make code path more explicit, as
well as fixing spaces-vs-tab indentation issues due to having to
re-indent this function.
@codecov
Copy link

codecov bot commented Sep 28, 2018

Codecov Report

Merging #27 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   97.49%   97.49%           
=======================================
  Files           2        2           
  Lines         599      599           
=======================================
  Hits          584      584           
  Misses         15       15

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 f05c069...0046674. Read the comment docs.

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