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

Minor changes to address lint in geodesic.c #2752

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

cffk
Copy link
Contributor

@cffk cffk commented Jun 22, 2021

This addresses some compiler warning reported to me by Marc Emery memery@myotest.com. The changes are super-innocuous. For the record, the compiler flags were:

-Wall -Wextra -Wpointer-arith -Wcast-align -Wwrite-strings -Wswitch-default
-Wunreachable-code -Winit-self -Wmissing-field-initializers
-Wno-unknown-pragmas -Wstrict-prototypes -Wundef -Wold-style-definition -std=c99

And to show what a novice I am at C programming, I didn't konw the exact meaning of the C declaration

static void Init();

i.e., that it's not the same as

static void Init(void);

@cffk
Copy link
Contributor Author

cffk commented Jun 22, 2021

I'll wait until tomorrow and then merge...

@cffk cffk merged commit 9d1bc0b into OSGeo:master Jun 23, 2021
@kbevers kbevers added this to the 8.1.0 milestone Jun 23, 2021
a0x8o added a commit to a0x8o/PROJ that referenced this pull request Jun 23, 2021
Minor changes to address lint in geodesic.c
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.

None yet

2 participants