https://sourceware.org/bugzilla/show_bug.cgi?id=18806

            Bug ID: 18806
           Summary: src/bfd/elf.c:1240: bad test ?
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

../../src/bfd/elf.c:1240:26: warning: self-comparison always evaluates to true
[-Wtautological-compare]

Source code is

         || oheader->sh_type == oheader->sh_type)

Maybe

         || iheader->sh_type == oheader->sh_type)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to