-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
checks: Indent most of C code #2544
Conversation
Indents most of C and C++ code except for what is reported by indent as issues.
D_text_size(hsize * xincr, vsize * yincr); | ||
G_debug(3, "text size initialized to [%.1f,%.1f]", | ||
hsize * xincr, vsize * yincr); | ||
D_text_size(hsize * xincr, vsize * yincr); |
Check failure
Code scanning / CodeQL
Multiplication result converted to larger type
D_text_size(hsize * xincr, vsize * yincr); | ||
G_debug(3, "text size initialized to [%.1f,%.1f]", | ||
hsize * xincr, vsize * yincr); | ||
D_text_size(hsize * xincr, vsize * yincr); |
Check failure
Code scanning / CodeQL
Multiplication result converted to larger type
How to deal with conflicts this creates in PRs with C code? Indent your code:
Commit the change:
Update upstream/main branch:
Merge into your branch upstream/main:
|
CodeQL fails with issues which already exist. The rest runs. |
This leaves out all directories which indent reports errors for. |
Indents most of the C and C++ code except for what is reported by indent as issues.
Selected r.kappa indentation update from OSGeo#2544 (needed for backport r.kappa fixes in OSGeo#2573)
Indents most of the C and C++ code except for what is reported by indent as issues.
Indents most of the C and C++ code except for what is reported by indent as issues.
Indents most of C and C++ code except for what is reported by indent as issues.