unused_dummy_argument Subroutine

private elemental subroutine unused_dummy_argument(dummy)

Do nothing but mark an unused dummy argument as such to acknowledge compile time warning like:

Warning: Unused dummy argument ‘dummy’ at (1) [-Wunused-dummy-argument]

We deeply trust in the compiler to inline and optimize this piece of code away.

Arguments

Type IntentOptional Attributes Name
class(*), intent(in) :: dummy

Called by

proc~~unused_dummy_argument~~CalledByGraph proc~unused_dummy_argument unused_dummy_argument proc~read_formatted read_formatted proc~read_formatted->proc~unused_dummy_argument interface~read (formatted) read (formatted) interface~read (formatted)->proc~read_formatted

Source Code

elemental subroutine unused_dummy_argument(dummy)
   class(*), intent(in) :: dummy
   associate (dummy => dummy); end associate
end subroutine unused_dummy_argument