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

            Bug ID: 125087
           Summary: libgfortran/io/format.c:285: Pointless assignment ?
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Static analyser cppcheck says:

libgfortran/io/format.c:285:3: warning: Assignment of function parameter h
as no effect outside the function. Did you forget dereferencing it?
[uselessAssi
gnmentPtrArg]

Source code is

  fmt = NULL;

Suggest remove pointless code.

Reply via email to