[Bug fortran/92358] New: libgfortran/io/async.c:548:37: warning: unused parameter 'cmp'

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 4 15:32:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92358

            Bug ID: 92358
           Summary: libgfortran/io/async.c:548:37: warning: unused
                    parameter 'cmp'
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: jvdelisle at gcc dot gnu.org
  Target Milestone: ---

I get the following warning when compiling libgfortran:

libgfortran/io/async.c:548:37: warning: unused parameter 'cmp'

I wonder whether one should add some  __attribute__((unused)) to silence this
warning.

The other question is why I only see this warning for that functions - the
other functions nearby do not look any different.


More information about the Gcc-bugs mailing list