[ET Trac] [Einstein Toolkit] #1178: unused Fortran function arguments (here in EOS_IdealFluid)
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Nov 14 22:45:54 CST 2012
#1178: unused Fortran function arguments (here in EOS_IdealFluid)
-----------------------------------+----------------------------------------
Reporter: knarf | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: EinsteinToolkit thorn | Version: development version
Keywords: |
-----------------------------------+----------------------------------------
In an effort to get rid of some of the warnings I wonder what the best way
in Fortran is to suppress warnings about unused function arguments. Is
there an 'unused' keyword?
I any case: the quick solution I came up with is in the patch: 'var=var' -
hopefully optimized away by the compiler. It silences the warning. See
attached patch.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1178>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list