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 remove two newer compiler warnings #154

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

ngs333
Copy link
Contributor

@ngs333 ngs333 commented Apr 27, 2022

This PR is for two minor changes to the code to remove new compiler warnings from two recent code changes. First, the redefinition of constants R2D and D2R are removed from make_coupler mosaic since they are already defined in the included constant.h file. This change was missed in an earlier merge.
Second, print_provenance_info functions are getting a const qualifier to "char * history"
argument. This does not have a functional effect but removed a warning introduced within the
last year.

 of constant in make_coupler_mosaic and adding const qualifier to char *
in declaration of print_provenance_info.
@ngs333 ngs333 self-assigned this Apr 28, 2022
@ngs333 ngs333 requested a review from ceblanton April 28, 2022 14:06
@ngs333 ngs333 merged commit fa18b3f into NOAA-GFDL:master Apr 28, 2022
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